企业资质审核无法根据物资名称进行查询操作

cert
1178634255 2 years ago
parent 1ea9723634
commit 2f824a8127

@ -53,6 +53,7 @@ public class UdiRelController extends BaseController {
@ApiOperation(value = "获取同步库UDI信息", response = BasicUdiRelResponse.class) @ApiOperation(value = "获取同步库UDI信息", response = BasicUdiRelResponse.class)
@GetMapping("udi/basic/rel/filter") @GetMapping("udi/basic/rel/filter")
public BaseResponse filterRel(FilterUdiRelRequest filterUdiRelRequest) { public BaseResponse filterRel(FilterUdiRelRequest filterUdiRelRequest) {
System.out.println(filterUdiRelRequest.toString());
String nameCode; String nameCode;
if (StrUtil.isNotEmpty(filterUdiRelRequest.getUdiCode())) { if (StrUtil.isNotEmpty(filterUdiRelRequest.getUdiCode())) {
UdiEntity udiEntity = FilterUdiUtils.getUdi(filterUdiRelRequest.getUdiCode()); UdiEntity udiEntity = FilterUdiUtils.getUdi(filterUdiRelRequest.getUdiCode());

@ -41,6 +41,8 @@ public class userPersonController {
@ApiOperation(value = "获取用户个人信息", response = UserPersonEntity.class) @ApiOperation(value = "获取用户个人信息", response = UserPersonEntity.class)
@GetMapping("/sup/company/person/filterList") @GetMapping("/sup/company/person/filterList")
public BaseResponse filterCompanyCert(UserPersonFilterRequest userPersonFilterRequest, BindingResult bindingResult) { public BaseResponse filterCompanyCert(UserPersonFilterRequest userPersonFilterRequest, BindingResult bindingResult) {
System.out.println(userPersonFilterRequest.toString());
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage()); return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
} }

@ -13,6 +13,7 @@ public class FilterPoductRequest extends ListPageRequest {
private String recordProductName; private String recordProductName;
private String recordPeopleName; private String recordPeopleName;
private String manufactory; private String manufactory;
private String cpmctymc;
private String productId; private String productId;
private String manufacturerIdFk; private String manufacturerIdFk;

@ -62,8 +62,9 @@
<if test="cpmctymc != '' and cpmctymc != null"> <if test="cpmctymc != '' and cpmctymc != null">
AND cpmctymc LIKE concat('%', #{cpmctymc}, '%') AND cpmctymc LIKE concat('%', #{cpmctymc}, '%')
</if> </if>
<if test="nameCode != '' and nameCode != null"> <if test="unionCode != '' and unionCode != null">
AND nameCode LIKE concat(#{nameCode}, '%') -- AND nameCode LIKE concat(#{unionCode}, '%')
AND nameCode=#{nameCode}
</if> </if>
<if test="uuid != '' and uuid != null"> <if test="uuid != '' and uuid != null">
AND bur.uuid = #{uuid} AND bur.uuid = #{uuid}

@ -148,8 +148,8 @@
<if test="recordCode != null and recordCode != ''"> <if test="recordCode != null and recordCode != ''">
and sup_product.recordCode like concat('%', #{recordCode}, '%') and sup_product.recordCode like concat('%', #{recordCode}, '%')
</if> </if>
<if test="recordProductName != null and recordProductName != ''"> <if test="cpmctymc != null and cpmctymc != ''">
and sup_product.recordProductName like concat('%', #{recordProductName}, '%') and sup_product.recordProductName like concat('%', #{cpmctymc}, '%')
</if> </if>
<if test="recordPeopleName != null and recordPeopleName != ''"> <if test="recordPeopleName != null and recordPeopleName != ''">
and sup_product.recordPeopleName like concat('%', #{recordPeopleName}, '%') and sup_product.recordPeopleName like concat('%', #{recordPeopleName}, '%')

Loading…
Cancel
Save