过滤包装规格 name等于空的值
This commit is contained in:
+1
@@ -75,6 +75,7 @@ public class PackDomainService {
|
||||
PackPO packPO = packService.getInfo(packId);
|
||||
PackDetailDO packDetailDO = new PackDetailDO();
|
||||
packDetailDO.setPackId(packId);
|
||||
packDetailDO.setIsName("1");
|
||||
List<PackDetailPO> packDetailPOList = packDetailService.queryList(packDetailDO);
|
||||
packPO.setPackDetailList(packDetailPOList);
|
||||
return packPO;
|
||||
|
||||
+3
@@ -93,6 +93,9 @@ public class PackDetailDO extends BaseVOEntity{
|
||||
@Excel(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@ApiModelProperty("过滤空name")
|
||||
private String isName;
|
||||
|
||||
@ApiModelProperty(name = "组织ID集合")
|
||||
private List<Long> organizationIdList;
|
||||
|
||||
|
||||
@@ -57,6 +57,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="name != null and name != ''">
|
||||
and name like concat('%', #{name}, '%')
|
||||
</if>
|
||||
<if test="isName != null and isName != ''">
|
||||
AND NAME IS NOT NULL AND NAME != ''
|
||||
</if>
|
||||
<if test="number != null ">
|
||||
and number = #{number}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user