jiaosong
2023-08-11 ae2448f5852af97fe67ca49fb27583d68268aa66
server/src/main/resources/mappers/WorkPlansExtMapper.xml
@@ -151,6 +151,15 @@
      </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')