Browse Source

fscFlag

master
han\hanst 3 weeks ago
parent
commit
76d781218d
  1. 5
      src/main/java/com/xujie/sys/modules/part/vo/PartInformationVo.java
  2. 4
      src/main/resources/mapper/ecss/CoDelMapper.xml
  3. 4
      src/main/resources/mapper/part/PartInformationMapper.xml

5
src/main/java/com/xujie/sys/modules/part/vo/PartInformationVo.java

@ -152,4 +152,9 @@ public class PartInformationVo extends PartInformationEntity {
* 天线BU维护单位(part.ecss_umid)
*/
private String ecssUmid;
/**
* 是否FSC。勾选传 true,只查 part.fsc_flag = Y;未勾选不按该字段过滤。
*/
private String fscFlag;
}

4
src/main/resources/mapper/ecss/CoDelMapper.xml

@ -2217,6 +2217,10 @@ create_by,create_date,update_by,update_date
<if test="query.endDate != null">
AND #{query.endDate} &gt;= a.creation_date
</if>
<!-- 与列表同一套是否FSC口径,导出物料档案不能绕过页面筛选 -->
<if test="query.fscFlag == 'true'">
AND a.fsc_flag = 'Y'
</if>
</where>
ORDER BY dbo.get_bu_desc(a.site, a.sourceBu), a.part_no
</select>

4
src/main/resources/mapper/part/PartInformationMapper.xml

@ -139,6 +139,10 @@
<if test="query.endDate != null">
AND #{query.endDate} >= a.creation_date
</if>
<!-- 勾选是否FSC时只查已标记物料,未勾选不限制 -->
<if test="query.fscFlag == 'true'">
AND a.fsc_flag = 'Y'
</if>
</where>
</select>

Loading…
Cancel
Save