| | |
| | | </if> |
| | | <if test="batch != null and batch != ''"> |
| | | AND `a`.`batch` like concat('%',#{batch},'%') |
| | | </if> |
| | | <if test="salesorder != null and salesorder != ''"> |
| | | AND `a`.`SALESORDER` like concat('%',#{salesorder},'%') |
| | | </if> |
| | | <if test="startDateStart != null and startDateStart != ''"> |
| | | AND `a`.`START_DATE` >= concat(#{planDateStart},' 00:00:00') |
| | | </if> |
| | | <if test="startDateEnd != null and startDateEnd != ''"> |
| | | AND concat(#{planDateEnd},' 23:59:59') >= `a`.`START_DATE` |
| | | </if> |
| | | <if test="planDateStart != null and planDateStart != ''"> |
| | | AND `a`.`PLAN_DATE` >= concat(#{planDateStart},' 00:00:00') |