优化接口的类型
This commit is contained in:
@@ -148,7 +148,7 @@ public class AccountController {
|
|||||||
* @Param: ids
|
* @Param: ids
|
||||||
* @return java.lang.Object
|
* @return java.lang.Object
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteAccountByIds")
|
@PostMapping(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 {
|
||||||
|
|
||||||
|
|||||||
@@ -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 {
|
|||||||
* @Param: ids
|
* @Param: ids
|
||||||
* @return java.lang.Object
|
* @return java.lang.Object
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteAccountHeadByIds")
|
@PostMapping(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();
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteAccountItemByIds")
|
@PostMapping(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();
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ public class DepotController {
|
|||||||
* @return
|
* @return
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/findDepotByUserId")
|
@GetMapping(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 {
|
|||||||
* @Param: ids
|
* @Param: ids
|
||||||
* @return java.lang.Object
|
* @return java.lang.Object
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteDepotByIds")
|
@PostMapping(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();
|
||||||
|
|||||||
@@ -603,7 +603,7 @@ public class DepotItemController {
|
|||||||
* @Param: ids
|
* @Param: ids
|
||||||
* @return java.lang.Object
|
* @return java.lang.Object
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteDepotItemByIds")
|
@PostMapping(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);
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteFunctionByIds")
|
@PostMapping(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);
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteInOutItemByIds")
|
@PostMapping(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();
|
||||||
|
|||||||
@@ -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 {
|
|||||||
* @param request
|
* @param request
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/findById")
|
@PostMapping(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 {
|
||||||
|
|||||||
@@ -358,7 +358,7 @@ public class MaterialController {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@RequestMapping(value = "/getMaterialEnableSerialNumberList")
|
@GetMapping(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 {
|
|||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 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
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteMaterialByIds")
|
@PostMapping(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();
|
||||||
|
|||||||
@@ -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 {
|
|||||||
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
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteMaterialPropertyByIds")
|
@PostMapping(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);
|
||||||
|
|||||||
@@ -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 {
|
|||||||
* @Param: beanJson
|
* @Param: beanJson
|
||||||
* @return java.lang.Object
|
* @return java.lang.Object
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/addOrganization")
|
@PostMapping(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 {
|
|||||||
* @Param: beanJson
|
* @Param: beanJson
|
||||||
* @return java.lang.Object
|
* @return java.lang.Object
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/editOrganization")
|
@PostMapping(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 {
|
|||||||
* @Param: ids
|
* @Param: ids
|
||||||
* @return java.lang.Object
|
* @return java.lang.Object
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteOrganization")
|
@PostMapping(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);
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeletePersonByIds")
|
@PostMapping(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();
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteRoleByIds")
|
@PostMapping(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);
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/serialNumber/batchDeleteSerialNumberByIds")
|
@PostMapping(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);
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteSupplierByIds")
|
@PostMapping(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();
|
||||||
|
|||||||
@@ -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 {
|
|||||||
/**
|
/**
|
||||||
* 批量删除系统配置信息
|
* 批量删除系统配置信息
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteSystemConfigByIds")
|
@PostMapping(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;
|
||||||
|
|||||||
@@ -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 {
|
|||||||
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
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteUnitByIds")
|
@PostMapping(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();
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/batchDeleteUserBusinessByIds")
|
@PostMapping(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();
|
||||||
|
|||||||
Reference in New Issue
Block a user