Browse Source

Merge remote-tracking branch 'origin/master'

master
常熟吴彦祖 2 weeks ago
parent
commit
b0e0b4f74e
  1. 3
      src/main/resources/mapper/notify/NewIssureMapper.xml
  2. 5
      src/main/resources/mapper/warehouse/LabelQueryMapper.xml

3
src/main/resources/mapper/notify/NewIssureMapper.xml

@ -69,6 +69,9 @@
<if test="query.site != null and query.site != ''"> <if test="query.site != null and query.site != ''">
AND a.site = #{query.site} AND a.site = #{query.site}
</if> </if>
<if test="query.pushWcsFlag != null and query.pushWcsFlag != ''">
AND a.push_wcs_flag = #{query.pushWcsFlag}
</if>
and a.status!='UNISSUE' and a.status!='UNISSUE'
</where> </where>
order by a.notify_no desc order by a.notify_no desc

5
src/main/resources/mapper/warehouse/LabelQueryMapper.xml

@ -30,7 +30,7 @@
w.WareHouseName as warehouseName, w.WareHouseName as warehouseName,
l.LocationName as locationName, l.LocationName as locationName,
h.height,h.wdr,h.eng_chg_level as engChgLevel,h.expired_date as expiredDate, h.height,h.wdr,h.eng_chg_level as engChgLevel,h.expired_date as expiredDate,
h.last_count_date as lastCountDate
h.last_count_date as lastCountDate,h.source_type as sourceType
FROM handling_unit h WITH (NOLOCK) FROM handling_unit h WITH (NOLOCK)
LEFT JOIN warehouse w WITH (NOLOCK) ON h.warehouse_id = w.WareHouseID AND h.site = w.Site LEFT JOIN warehouse w WITH (NOLOCK) ON h.warehouse_id = w.WareHouseID AND h.site = w.Site
LEFT JOIN location l WITH (NOLOCK) ON h.location_id = l.LocationID AND h.site = l.Site LEFT JOIN location l WITH (NOLOCK) ON h.location_id = l.LocationID AND h.site = l.Site
@ -56,6 +56,9 @@
<if test="params.partDesc != null and params.partDesc != ''"> <if test="params.partDesc != null and params.partDesc != ''">
AND h.part_desc LIKE CONCAT('%', #{params.partDesc}, '%') AND h.part_desc LIKE CONCAT('%', #{params.partDesc}, '%')
</if> </if>
<if test="params.sourceType != null and params.sourceType != ''">
AND h.source_type = #{params.sourceType}
</if>
</where> </where>
ORDER BY h.created_date DESC ORDER BY h.created_date DESC
</select> </select>

Loading…
Cancel
Save