Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
fba97561
Commit
fba97561
authored
Oct 31, 2020
by
季圣华
Browse files
优化接口的类型
parent
197213e9
Changes
18
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/jsh/erp/controller/AccountController.java
View file @
fba97561
...
@@ -148,7 +148,7 @@ public class AccountController {
...
@@ -148,7 +148,7 @@ public class AccountController {
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteAccountByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteAccountByIds"
)
public
Object
batchDeleteAccountByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
public
Object
batchDeleteAccountByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
...
...
src/main/java/com/jsh/erp/controller/AccountHeadController.java
View file @
fba97561
...
@@ -9,10 +9,7 @@ import com.jsh.erp.service.accountHead.AccountHeadService;
...
@@ -9,10 +9,7 @@ import com.jsh.erp.service.accountHead.AccountHeadService;
import
com.jsh.erp.utils.BaseResponseInfo
;
import
com.jsh.erp.utils.BaseResponseInfo
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
...
@@ -116,7 +113,7 @@ public class AccountHeadController {
...
@@ -116,7 +113,7 @@ public class AccountHeadController {
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteAccountHeadByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteAccountHeadByIds"
)
public
Object
batchDeleteAccountHeadByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
public
Object
batchDeleteAccountHeadByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
...
...
src/main/java/com/jsh/erp/controller/AccountItemController.java
View file @
fba97561
...
@@ -108,14 +108,13 @@ public class AccountItemController {
...
@@ -108,14 +108,13 @@ public class AccountItemController {
}
}
/**
/**
* create by: qiankunpingtai
* create by: qiankunpingtai
* website:https://qiankunpingtai.cn
* description:
* description:
* 批量删除财务明细信息
* 批量删除财务明细信息
* create time: 2019/3/29 10:56
* create time: 2019/3/29 10:56
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteAccountItemByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteAccountItemByIds"
)
public
Object
batchDeleteAccountItemByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
public
Object
batchDeleteAccountItemByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
...
...
src/main/java/com/jsh/erp/controller/DepotController.java
View file @
fba97561
...
@@ -115,7 +115,7 @@ public class DepotController {
...
@@ -115,7 +115,7 @@ public class DepotController {
* @return
* @return
* @throws Exception
* @throws Exception
*/
*/
@
Reques
tMapping
(
value
=
"/findDepotByUserId"
)
@
Ge
tMapping
(
value
=
"/findDepotByUserId"
)
public
JSONArray
findDepotByUserId
(
@RequestParam
(
"UBType"
)
String
type
,
@RequestParam
(
"UBKeyId"
)
String
keyId
,
public
JSONArray
findDepotByUserId
(
@RequestParam
(
"UBType"
)
String
type
,
@RequestParam
(
"UBKeyId"
)
String
keyId
,
HttpServletRequest
request
)
throws
Exception
{
HttpServletRequest
request
)
throws
Exception
{
JSONArray
arr
=
new
JSONArray
();
JSONArray
arr
=
new
JSONArray
();
...
@@ -152,7 +152,7 @@ public class DepotController {
...
@@ -152,7 +152,7 @@ public class DepotController {
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteDepotByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteDepotByIds"
)
public
Object
batchDeleteDepotByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
public
Object
batchDeleteDepotByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
...
...
src/main/java/com/jsh/erp/controller/DepotItemController.java
View file @
fba97561
...
@@ -603,7 +603,7 @@ public class DepotItemController {
...
@@ -603,7 +603,7 @@ public class DepotItemController {
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteDepotItemByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteDepotItemByIds"
)
public
Object
batchDeleteDepotItemByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
public
Object
batchDeleteDepotItemByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
int
i
=
depotItemService
.
batchDeleteDepotItemByIds
(
ids
);
int
i
=
depotItemService
.
batchDeleteDepotItemByIds
(
ids
);
...
...
src/main/java/com/jsh/erp/controller/FunctionController.java
View file @
fba97561
...
@@ -190,14 +190,13 @@ public class FunctionController {
...
@@ -190,14 +190,13 @@ public class FunctionController {
}
}
/**
/**
* create by: qiankunpingtai
* create by: qiankunpingtai
* website:https://qiankunpingtai.cn
* description:
* description:
* 批量删除功能模块信息
* 批量删除功能模块信息
* create time: 2019/3/29 11:15
* create time: 2019/3/29 11:15
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteFunctionByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteFunctionByIds"
)
public
Object
batchDeleteFunctionByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
public
Object
batchDeleteFunctionByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
int
i
=
functionService
.
batchDeleteFunctionByIds
(
ids
);
int
i
=
functionService
.
batchDeleteFunctionByIds
(
ids
);
...
...
src/main/java/com/jsh/erp/controller/InOutItemController.java
View file @
fba97561
...
@@ -59,14 +59,13 @@ public class InOutItemController {
...
@@ -59,14 +59,13 @@ public class InOutItemController {
}
}
/**
/**
* create by: qiankunpingtai
* create by: qiankunpingtai
* website:https://qiankunpingtai.cn
* description:
* description:
* 批量删除收支项目信息
* 批量删除收支项目信息
* create time: 2019/3/29 11:15
* create time: 2019/3/29 11:15
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteInOutItemByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteInOutItemByIds"
)
public
Object
batchDeleteInOutItemByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
public
Object
batchDeleteInOutItemByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
...
...
src/main/java/com/jsh/erp/controller/MaterialCategoryController.java
View file @
fba97561
...
@@ -13,10 +13,7 @@ import com.jsh.erp.service.materialCategory.MaterialCategoryService;
...
@@ -13,10 +13,7 @@ import com.jsh.erp.service.materialCategory.MaterialCategoryService;
import
com.jsh.erp.utils.BaseResponseInfo
;
import
com.jsh.erp.utils.BaseResponseInfo
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
...
@@ -54,7 +51,7 @@ public class MaterialCategoryController {
...
@@ -54,7 +51,7 @@ public class MaterialCategoryController {
* @param request
* @param request
* @return
* @return
*/
*/
@
Reque
stMapping
(
value
=
"/findById"
)
@
Po
stMapping
(
value
=
"/findById"
)
public
BaseResponseInfo
findById
(
@RequestParam
(
"id"
)
Long
id
,
HttpServletRequest
request
)
throws
Exception
{
public
BaseResponseInfo
findById
(
@RequestParam
(
"id"
)
Long
id
,
HttpServletRequest
request
)
throws
Exception
{
BaseResponseInfo
res
=
new
BaseResponseInfo
();
BaseResponseInfo
res
=
new
BaseResponseInfo
();
try
{
try
{
...
...
src/main/java/com/jsh/erp/controller/MaterialController.java
View file @
fba97561
...
@@ -358,7 +358,7 @@ public class MaterialController {
...
@@ -358,7 +358,7 @@ public class MaterialController {
return
null
;
return
null
;
}
}
}
}
@
Reques
tMapping
(
value
=
"/getMaterialEnableSerialNumberList"
)
@
Ge
tMapping
(
value
=
"/getMaterialEnableSerialNumberList"
)
public
String
getMaterialEnableSerialNumberList
(
@RequestParam
(
value
=
Constants
.
PAGE_SIZE
,
required
=
false
)
Integer
pageSize
,
public
String
getMaterialEnableSerialNumberList
(
@RequestParam
(
value
=
Constants
.
PAGE_SIZE
,
required
=
false
)
Integer
pageSize
,
@RequestParam
(
value
=
Constants
.
CURRENT_PAGE
,
required
=
false
)
Integer
currentPage
,
@RequestParam
(
value
=
Constants
.
CURRENT_PAGE
,
required
=
false
)
Integer
currentPage
,
@RequestParam
(
value
=
Constants
.
SEARCH
,
required
=
false
)
String
search
)
throws
Exception
{
@RequestParam
(
value
=
Constants
.
SEARCH
,
required
=
false
)
String
search
)
throws
Exception
{
...
@@ -385,14 +385,13 @@ public class MaterialController {
...
@@ -385,14 +385,13 @@ public class MaterialController {
}
}
/**
/**
* create by: qiankunpingtai
* create by: qiankunpingtai
* website:https://qiankunpingtai.cn
* description:
* description:
* 批量删除商品信息
* 批量删除商品信息
* create time: 2019/3/29 11:15
* create time: 2019/3/29 11:15
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteMaterialByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteMaterialByIds"
)
public
Object
batchDeleteMaterialByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
public
Object
batchDeleteMaterialByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
...
...
src/main/java/com/jsh/erp/controller/MaterialPropertyController.java
View file @
fba97561
...
@@ -7,6 +7,7 @@ import com.jsh.erp.service.material.MaterialService;
...
@@ -7,6 +7,7 @@ import com.jsh.erp.service.material.MaterialService;
import
com.jsh.erp.service.materialProperty.MaterialPropertyService
;
import
com.jsh.erp.service.materialProperty.MaterialPropertyService
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
...
@@ -27,14 +28,13 @@ public class MaterialPropertyController {
...
@@ -27,14 +28,13 @@ public class MaterialPropertyController {
private
MaterialPropertyService
materialPropertyService
;
private
MaterialPropertyService
materialPropertyService
;
/**
/**
* create by: qiankunpingtai
* create by: qiankunpingtai
* website:https://qiankunpingtai.cn
* description:
* description:
* 批量删除商品扩展信息
* 批量删除商品扩展信息
* create time: 2019/3/29 11:15
* create time: 2019/3/29 11:15
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteMaterialPropertyByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteMaterialPropertyByIds"
)
public
Object
batchDeleteMaterialPropertyByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
public
Object
batchDeleteMaterialPropertyByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
int
i
=
materialPropertyService
.
batchDeleteMaterialPropertyByIds
(
ids
);
int
i
=
materialPropertyService
.
batchDeleteMaterialPropertyByIds
(
ids
);
...
...
src/main/java/com/jsh/erp/controller/OrganizationController.java
View file @
fba97561
...
@@ -13,10 +13,7 @@ import com.jsh.erp.service.organization.OrganizationService;
...
@@ -13,10 +13,7 @@ import com.jsh.erp.service.organization.OrganizationService;
import
com.jsh.erp.utils.BaseResponseInfo
;
import
com.jsh.erp.utils.BaseResponseInfo
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
...
@@ -115,7 +112,7 @@ public class OrganizationController {
...
@@ -115,7 +112,7 @@ public class OrganizationController {
* @Param: beanJson
* @Param: beanJson
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/addOrganization"
)
@
Po
stMapping
(
value
=
"/addOrganization"
)
public
Object
addOrganization
(
@RequestParam
(
"info"
)
String
beanJson
)
throws
Exception
{
public
Object
addOrganization
(
@RequestParam
(
"info"
)
String
beanJson
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
Organization
org
=
JSON
.
parseObject
(
beanJson
,
Organization
.
class
);
Organization
org
=
JSON
.
parseObject
(
beanJson
,
Organization
.
class
);
...
@@ -134,7 +131,7 @@ public class OrganizationController {
...
@@ -134,7 +131,7 @@ public class OrganizationController {
* @Param: beanJson
* @Param: beanJson
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/editOrganization"
)
@
Po
stMapping
(
value
=
"/editOrganization"
)
public
Object
editOrganization
(
@RequestParam
(
"info"
)
String
beanJson
)
throws
Exception
{
public
Object
editOrganization
(
@RequestParam
(
"info"
)
String
beanJson
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
Organization
org
=
JSON
.
parseObject
(
beanJson
,
Organization
.
class
);
Organization
org
=
JSON
.
parseObject
(
beanJson
,
Organization
.
class
);
...
@@ -153,7 +150,7 @@ public class OrganizationController {
...
@@ -153,7 +150,7 @@ public class OrganizationController {
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteOrganization"
)
@
Po
stMapping
(
value
=
"/batchDeleteOrganization"
)
public
Object
batchDeleteOrganization
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
public
Object
batchDeleteOrganization
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
int
i
=
organizationService
.
batchDeleteOrganizationByIds
(
ids
);
int
i
=
organizationService
.
batchDeleteOrganizationByIds
(
ids
);
...
...
src/main/java/com/jsh/erp/controller/PersonController.java
View file @
fba97561
...
@@ -129,14 +129,13 @@ public class PersonController {
...
@@ -129,14 +129,13 @@ public class PersonController {
}
}
/**
/**
* create by: qiankunpingtai
* create by: qiankunpingtai
* website:https://qiankunpingtai.cn
* description:
* description:
* 批量删除经手人信息
* 批量删除经手人信息
* create time: 2019/3/29 11:15
* create time: 2019/3/29 11:15
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeletePersonByIds"
)
@
Po
stMapping
(
value
=
"/batchDeletePersonByIds"
)
public
Object
batchDeletePersonByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
public
Object
batchDeletePersonByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
...
...
src/main/java/com/jsh/erp/controller/RoleController.java
View file @
fba97561
...
@@ -72,14 +72,13 @@ public class RoleController {
...
@@ -72,14 +72,13 @@ public class RoleController {
/**
/**
* create by: qiankunpingtai
* create by: qiankunpingtai
* website:https://qiankunpingtai.cn
* description:
* description:
* 逻辑删除角色信息
* 逻辑删除角色信息
* create time: 2019/3/28 15:39
* create time: 2019/3/28 15:39
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteRoleByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteRoleByIds"
)
public
Object
batchDeleteRoleByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
public
Object
batchDeleteRoleByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
int
i
=
roleService
.
batchDeleteRoleByIds
(
ids
);
int
i
=
roleService
.
batchDeleteRoleByIds
(
ids
);
...
...
src/main/java/com/jsh/erp/controller/SerialNumberController.java
View file @
fba97561
...
@@ -109,14 +109,13 @@ public class SerialNumberController {
...
@@ -109,14 +109,13 @@ public class SerialNumberController {
}
}
/**
/**
* create by: qiankunpingtai
* create by: qiankunpingtai
* website:https://qiankunpingtai.cn
* description:
* description:
* 逻辑删除序列号信息
* 逻辑删除序列号信息
* create time: 2019/3/27 17:43
* create time: 2019/3/27 17:43
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/serialNumber/batchDeleteSerialNumberByIds"
)
@
Po
stMapping
(
value
=
"/serialNumber/batchDeleteSerialNumberByIds"
)
public
Object
batchDeleteSerialNumberByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
public
Object
batchDeleteSerialNumberByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
int
i
=
serialNumberService
.
batchDeleteSerialNumberByIds
(
ids
);
int
i
=
serialNumberService
.
batchDeleteSerialNumberByIds
(
ids
);
...
...
src/main/java/com/jsh/erp/controller/SupplierController.java
View file @
fba97561
...
@@ -442,14 +442,13 @@ public class SupplierController {
...
@@ -442,14 +442,13 @@ public class SupplierController {
}
}
/**
/**
* create by: qiankunpingtai
* create by: qiankunpingtai
* website:https://qiankunpingtai.cn
* description:
* description:
* 批量删除供应商信息
* 批量删除供应商信息
* create time: 2019/3/29 11:15
* create time: 2019/3/29 11:15
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteSupplierByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteSupplierByIds"
)
public
Object
batchDeleteSupplierByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
public
Object
batchDeleteSupplierByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
...
...
src/main/java/com/jsh/erp/controller/SystemConfigController.java
View file @
fba97561
...
@@ -7,6 +7,7 @@ import com.jsh.erp.service.systemConfig.SystemConfigService;
...
@@ -7,6 +7,7 @@ import com.jsh.erp.service.systemConfig.SystemConfigService;
import
com.jsh.erp.service.user.UserService
;
import
com.jsh.erp.service.user.UserService
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
...
@@ -31,7 +32,7 @@ public class SystemConfigController {
...
@@ -31,7 +32,7 @@ public class SystemConfigController {
/**
/**
* 批量删除系统配置信息
* 批量删除系统配置信息
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteSystemConfigByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteSystemConfigByIds"
)
public
Object
batchDeleteSystemConfigByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
public
Object
batchDeleteSystemConfigByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
int
i
=
0
;
int
i
=
0
;
...
...
src/main/java/com/jsh/erp/controller/UnitController.java
View file @
fba97561
...
@@ -7,6 +7,7 @@ import com.jsh.erp.exception.BusinessRunTimeException;
...
@@ -7,6 +7,7 @@ import com.jsh.erp.exception.BusinessRunTimeException;
import
com.jsh.erp.service.unit.UnitService
;
import
com.jsh.erp.service.unit.UnitService
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
...
@@ -27,14 +28,13 @@ public class UnitController {
...
@@ -27,14 +28,13 @@ public class UnitController {
private
UnitService
unitService
;
private
UnitService
unitService
;
/**
/**
* create by: qiankunpingtai
* create by: qiankunpingtai
* website:https://qiankunpingtai.cn
* description:
* description:
* 批量删除系统配置信息
* 批量删除系统配置信息
* create time: 2019/3/29 11:15
* create time: 2019/3/29 11:15
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteUnitByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteUnitByIds"
)
public
Object
batchDeleteUnitByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
public
Object
batchDeleteUnitByIds
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
value
=
"deleteType"
,
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
required
=
false
,
defaultValue
=
BusinessConstants
.
DELETE_TYPE_NORMAL
)
String
deleteType
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
...
...
src/main/java/com/jsh/erp/controller/UserBusinessController.java
View file @
fba97561
...
@@ -93,14 +93,13 @@ public class UserBusinessController {
...
@@ -93,14 +93,13 @@ public class UserBusinessController {
}
}
/**
/**
* create by: qiankunpingtai
* create by: qiankunpingtai
* website:https://qiankunpingtai.cn
* description:
* description:
* 批量删除用户角色模块关系信息
* 批量删除用户角色模块关系信息
* create time: 2019/3/28 15:47
* create time: 2019/3/28 15:47
* @Param: ids
* @Param: ids
* @return java.lang.Object
* @return java.lang.Object
*/
*/
@
Reque
stMapping
(
value
=
"/batchDeleteUserBusinessByIds"
)
@
Po
stMapping
(
value
=
"/batchDeleteUserBusinessByIds"
)
public
Object
batchDeleteUserBusinessByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
public
Object
batchDeleteUserBusinessByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment