修改关键零部件绑定关系管理
This commit is contained in:
@@ -61,6 +61,7 @@ public class LawsPartRelevance implements Serializable {
|
||||
*/
|
||||
@ApiModelProperty(value = "关键零部件名称")
|
||||
@Excel(name = "关键零部件名称", width = 15)
|
||||
@NotBlank(message = "关键零部件名称不能为空")
|
||||
private String regPartNameCn;
|
||||
/**
|
||||
* 关键零部件名称(英文)
|
||||
@@ -137,6 +138,5 @@ public class LawsPartRelevance implements Serializable {
|
||||
* FND+GPC关联
|
||||
*/
|
||||
@ApiModelProperty(value = "FND+GPC关联")
|
||||
@NotBlank(message = "关键零部件名称不能为空")
|
||||
private String fndGpc;
|
||||
}
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ public class LawsPartPmmPartitionInfoServiceImpl extends ServiceImpl<LawsPartPmm
|
||||
queryWrapper.eq("IF(l2.id is null,'2','1')",lawsPartPmmPartitionInfo.getStatus());
|
||||
}
|
||||
if(!StringUtils.isBlank(lawsPartPmmPartitionInfo.getRegPartNameCn())){
|
||||
queryWrapper.eq("reg_part_name_cn",lawsPartPmmPartitionInfo.getRegPartNameCn());
|
||||
queryWrapper.like("l1.reg_part_name_cn",lawsPartPmmPartitionInfo.getRegPartNameCn());
|
||||
}
|
||||
Page<LawsPartPmmPartitionInfo> page = new Page<>(pageNo, pageSize);
|
||||
IPage<LawsPartPmmPartitionInfo> re = lawsPartPmmPartitionInfoMapper.pageList(page, queryWrapper);
|
||||
|
||||
Reference in New Issue
Block a user