|
|
|
@ -4,7 +4,6 @@ import cn.hutool.core.util.ReUtil;
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
|
import com.glxp.sale.admin.annotation.AuthRuleAnnotation;
|
|
|
|
|
import com.glxp.sale.admin.entity.auth.AuthAdmin;
|
|
|
|
|
import com.glxp.sale.admin.entity.auth.CustomerContactEntity;
|
|
|
|
|
import com.glxp.sale.admin.entity.auth.CustomerInfoEntity;
|
|
|
|
@ -79,7 +78,6 @@ public class RegisterController {
|
|
|
|
|
RedisUtil redisUtil;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@GetMapping("salewarehouse/register/list")
|
|
|
|
|
public BaseResponse filterList(UserResisterFilterRequest userResisterFilterRequest) {
|
|
|
|
|
|
|
|
|
@ -140,7 +138,6 @@ public class RegisterController {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@GetMapping("salewarehouse/register/checkCompany")
|
|
|
|
|
public BaseResponse checkCompany(@RequestParam("companyName") String companyName) {
|
|
|
|
|
if (StringUtils.isBlank(companyName)) return ResultVOUtils.error(ResultEnum.DATA_ERROR, "企业名称不能为空");
|
|
|
|
@ -179,7 +176,6 @@ public class RegisterController {
|
|
|
|
|
return ResultVOUtils.success(rMap);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@PostMapping("salewarehouse/register/deleteResiter")
|
|
|
|
|
public BaseResponse deleteResiter(@RequestBody DeleteRequest deleteRequest, BindingResult bindingResult) {
|
|
|
|
|
|
|
|
|
@ -192,7 +188,6 @@ public class RegisterController {
|
|
|
|
|
return ResultVOUtils.success("删除成功");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@PostMapping("salewarehouse/register/update")
|
|
|
|
|
public BaseResponse updateRegister(@RequestBody @Valid UserRegisterEntity userRegisterEntity,
|
|
|
|
|
BindingResult bindingResult) {
|
|
|
|
@ -207,7 +202,6 @@ public class RegisterController {
|
|
|
|
|
return ResultVOUtils.success("添加成功");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@PostMapping("salewarehouse/register/save")
|
|
|
|
|
public BaseResponse saveRegister(@RequestBody @Valid UserRegisterEntity userRegisterEntity, HttpSession httpSession,
|
|
|
|
|
BindingResult bindingResult) {
|
|
|
|
|