修改mapper文件

release
yishiqihuasheng 2 years ago
parent e48f02aa8e
commit 7f3e8e5554
  1. 5
      dxhy-base/src/main/java/com/dxhy/base/service/fpxxrz/BaseRzFpxxServiceImpl.java
  2. 7
      dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml

@ -122,7 +122,10 @@ public class BaseRzFpxxServiceImpl extends MpBaseServiceImpl<BaseFpxxZhDao, Base
for (int i = 0; i < pageList.size(); i++) {
pageList.get(i).setSelect(false);
String taxno = pageList.get(i).getGfsh();
if (orgList.contains(taxno) && "1".equals(pageList.get(i).getRzzt())) {
// if (orgList.contains(taxno) && "1".equals(pageList.get(i).getRzzt())) {
// pageList.get(i).setSelect(true);
// }
if ("0".equals(pageList.get(i).getRzzt())) {
pageList.get(i).setSelect(true);
}
String skssq = pageList.get(i).getSkssq();

@ -126,10 +126,13 @@
and postingTimeEnd != null and postingTimeEnd != '' and postingTimeEnd != 'null'">
and date_format(t.posting_time,'%Y-%m-%d') between #{postingTimeStart} and #{postingTimeEnd}
</if>
<if test="rzzt != null and rzzt != '' and rzzt != 'null' ">
<if test="rzzt != null and rzzt != '' and rzzt != 'null' and rzzt != '3'">
and t.rzh_yesorno = #{rzzt}
</if>
<if test="imageId != null and imageId != '' and imageId != 'null' ">
<if test="rzzt != null and rzzt != '' and rzzt != 'null' and rzzt == '3'">
and (t.rzh_yesorno = '1' or t.rzh_yesorno = '2')
</if>
<if test="imageId != null and imageId != '' and imageId != 'null' ">
and t.image_id = #{imageId}
</if>
<if test="rzclzt !=null and rzclzt != ''">

Loading…
Cancel
Save