标准法规清单-国家/地区清单中的 每个国家或者地区只能建立一次清单,需做限制

还有标准清单的回显
This commit is contained in:
yanyizhou
2021-08-18 22:09:12 +08:00
parent d457a93c13
commit 801eea7e50
2 changed files with 13 additions and 13 deletions
@@ -342,7 +342,7 @@ public class SarLawsDetailedListServiceImpl extends ServiceImpl<SarLawsDetailedL
if (StringUtils.isBlank(detailedUpDto.getCountryArea())) list.setCountryArea(null); if (StringUtils.isBlank(detailedUpDto.getCountryArea())) list.setCountryArea(null);
else if ("null".equals(detailedUpDto.getCountryArea())) ; else if ("null".equals(detailedUpDto.getCountryArea())) ;
else list.setCountryArea(detailedUpDto.getCountryArea()); else list.setCountryArea(detailedUpDto.getCountryArea());
//项目名称 //车型类别
if (StringUtils.isBlank(detailedUpDto.getCarType())) list.setCarType(null); if (StringUtils.isBlank(detailedUpDto.getCarType())) list.setCarType(null);
else if ("null".equals(detailedUpDto.getCarType())) ; else if ("null".equals(detailedUpDto.getCarType())) ;
else list.setCarType(detailedUpDto.getCarType()); else list.setCarType(detailedUpDto.getCarType());
@@ -70,18 +70,18 @@
<if test="standId != null"> <if test="standId != null">
and detailed_list_id = #{standId} and detailed_list_id = #{standId}
</if> </if>
<if test="sar.standSort != null"> <!-- <if test="sar.standSort != null">-->
and si.STAND_SORT = #{sar.standSort} <!-- and si.STAND_SORT = #{sar.standSort}-->
</if> <!-- </if>-->
<if test="sar.standType != null"> <!-- <if test="sar.standType != null">-->
and si.STAND_TYPE = #{sar.standType} <!-- and si.STAND_TYPE = #{sar.standType}-->
</if> <!-- </if>-->
<if test="sar.standNumber != null"> <!-- <if test="sar.standNumber != null">-->
and concat(concat(concat(concat(si.STAND_SORT,' '),si.STAND_NUMBER),'-'),si.STAND_YEAR) like concat(concat('%', #{sar.standNumber}),'%') <!-- and concat(concat(concat(concat(si.STAND_SORT,' '),si.STAND_NUMBER),'-'),si.STAND_YEAR) like concat(concat('%', #{sar.standNumber}),'%')-->
</if> <!-- </if>-->
<if test="sar.standName != null"> <!-- <if test="sar.standName != null">-->
and si.STAND_NAME like concat(concat('%', #{sar.standName}),'%') <!-- and si.STAND_NAME like concat(concat('%', #{sar.standName}),'%')-->
</if> <!-- </if>-->
</where> </where>
order by number order by number