Commit a5df80dfa4bf85ac390e7215dd0b8f99e5e4faa7

Authored by 周峰
1 parent 2aa0a7a9

修复库龄预警sql错误

huaheng-wms-core/src/main/java/org/jeecg/modules/wms/inventory/inventoryAge/mapper/xml/InventoryAgeAlarmMapper.xml
... ... @@ -26,10 +26,10 @@
26 26 and d.material_name like #{materialNameLike}
27 27 </if>
28 28 <if test="alarmStatus != null and alarmStatus == 'noAlarm'">
29   - DATEDIFF(current_date, d.create_time) &lt; expiringdays
  29 + and DATEDIFF(current_date, d.create_time) &lt; expiringdays
30 30 </if>
31 31 <if test="alarmStatus != null and alarmStatus == 'isAlarm'">
32   - DATEDIFF(current_date, d.create_time) &gt;= expiringdays
  32 + and DATEDIFF(current_date, d.create_time) &gt;= expiringdays
33 33 </if>
34 34 </where>
35 35 </select>
... ...