diff --git a/src/main/java/com/glxp/api/controller/basic/UdiRelController.java b/src/main/java/com/glxp/api/controller/basic/UdiRelController.java index 6885313..73fbfbb 100644 --- a/src/main/java/com/glxp/api/controller/basic/UdiRelController.java +++ b/src/main/java/com/glxp/api/controller/basic/UdiRelController.java @@ -53,6 +53,7 @@ public class UdiRelController extends BaseController { @ApiOperation(value = "获取同步库UDI信息", response = BasicUdiRelResponse.class) @GetMapping("udi/basic/rel/filter") public BaseResponse filterRel(FilterUdiRelRequest filterUdiRelRequest) { + System.out.println(filterUdiRelRequest.toString()); String nameCode; if (StrUtil.isNotEmpty(filterUdiRelRequest.getUdiCode())) { UdiEntity udiEntity = FilterUdiUtils.getUdi(filterUdiRelRequest.getUdiCode()); diff --git a/src/main/java/com/glxp/api/controller/purchase/userPersonController.java b/src/main/java/com/glxp/api/controller/purchase/userPersonController.java index a210132..1dae872 100644 --- a/src/main/java/com/glxp/api/controller/purchase/userPersonController.java +++ b/src/main/java/com/glxp/api/controller/purchase/userPersonController.java @@ -41,6 +41,8 @@ public class userPersonController { @ApiOperation(value = "获取用户个人信息", response = UserPersonEntity.class) @GetMapping("/sup/company/person/filterList") public BaseResponse filterCompanyCert(UserPersonFilterRequest userPersonFilterRequest, BindingResult bindingResult) { + + System.out.println(userPersonFilterRequest.toString()); if (bindingResult.hasErrors()) { return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage()); } diff --git a/src/main/java/com/glxp/api/req/purchase/FilterPoductRequest.java b/src/main/java/com/glxp/api/req/purchase/FilterPoductRequest.java index 57fc3a7..ab26422 100644 --- a/src/main/java/com/glxp/api/req/purchase/FilterPoductRequest.java +++ b/src/main/java/com/glxp/api/req/purchase/FilterPoductRequest.java @@ -13,6 +13,7 @@ public class FilterPoductRequest extends ListPageRequest { private String recordProductName; private String recordPeopleName; private String manufactory; + private String cpmctymc; private String productId; private String manufacturerIdFk; diff --git a/src/main/resources/mybatis/mapper/basic/BasicUdiRelMapper.xml b/src/main/resources/mybatis/mapper/basic/BasicUdiRelMapper.xml index 8e98b20..fdabf53 100644 --- a/src/main/resources/mybatis/mapper/basic/BasicUdiRelMapper.xml +++ b/src/main/resources/mybatis/mapper/basic/BasicUdiRelMapper.xml @@ -62,8 +62,9 @@ AND cpmctymc LIKE concat('%', #{cpmctymc}, '%') - - AND nameCode LIKE concat(#{nameCode}, '%') + +-- AND nameCode LIKE concat(#{unionCode}, '%') + AND nameCode=#{nameCode} AND bur.uuid = #{uuid} diff --git a/src/main/resources/mybatis/mapper/purchase/SupProductDao.xml b/src/main/resources/mybatis/mapper/purchase/SupProductDao.xml index 7b169cd..1844745 100644 --- a/src/main/resources/mybatis/mapper/purchase/SupProductDao.xml +++ b/src/main/resources/mybatis/mapper/purchase/SupProductDao.xml @@ -148,8 +148,8 @@ and sup_product.recordCode like concat('%', #{recordCode}, '%') - - and sup_product.recordProductName like concat('%', #{recordProductName}, '%') + + and sup_product.recordProductName like concat('%', #{cpmctymc}, '%') and sup_product.recordPeopleName like concat('%', #{recordPeopleName}, '%')