工序产量查询

highway
zhaoxiaolin 1 year ago
parent ff20d3cfa4
commit d6e558f422

@ -120,8 +120,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="equName != null and equName != ''"> <if test="equName != null and equName != ''">
and equ.equipment_name like concat('%', #{equName}, '%') and equ.equipment_name like concat('%', #{equName}, '%')
</if> </if>
<if test="productDateStart != null "> and CONVERT(varchar(10),mt.create_time, 120) >= #{productDateStart}</if> <if test="productDateStart != null "> and CONVERT(varchar(10),mt.update_time, 120) >= #{productDateStart}</if>
<if test="productDateEnd != null "> and #{productDateEnd} >= CONVERT(varchar(10),mt.create_time, 120)</if> <if test="productDateEnd != null "> and #{productDateEnd} >= CONVERT(varchar(10),mt.update_time, 120)</if>
group by group by
pow.order_code, pow.order_code,
pow.product_date, pow.product_date,

Loading…
Cancel
Save