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