Commit 515562b4 authored by KeYong's avatar KeYong

Merge remote-tracking branch 'origin/develop_dl_4.0' into develop_dl_4.0

parents bc3d7af8 69d02aab
...@@ -41,6 +41,7 @@ public class PlanReportController extends BaseController { ...@@ -41,6 +41,7 @@ public class PlanReportController extends BaseController {
planReport.setBizOrgCode(bizOrgCode); planReport.setBizOrgCode(bizOrgCode);
planReport.setBizOrgName(bizOrgName); planReport.setBizOrgName(bizOrgName);
planReport.setCreateDate(new Date()); planReport.setCreateDate(new Date());
planReport.setDrillDate(new Date());
planReportMapper.saveInfo(planReport); planReportMapper.saveInfo(planReport);
return CommonResponseUtil.success(planReport); return CommonResponseUtil.success(planReport);
} }
......
...@@ -49,10 +49,10 @@ ...@@ -49,10 +49,10 @@
AND a.biz_org_code like concat(#{bizOrgCode}, '%') AND a.biz_org_code like concat(#{bizOrgCode}, '%')
</if> </if>
<if test="startDate != null and startDate != ''"> <if test="startDate != null and startDate != ''">
AND a.create_date >= #{startDate} AND a.drill_date >= #{startDate}
</if> </if>
<if test="endDate != null and endDate != ''"> <if test="endDate != null and endDate != ''">
AND #{endDate} >= a.create_date AND #{endDate} >= a.drill_date
</if> </if>
</where> </where>
</select> </select>
...@@ -75,10 +75,10 @@ ...@@ -75,10 +75,10 @@
AND a.biz_org_code like concat(#{bizOrgCode}, '%') AND a.biz_org_code like concat(#{bizOrgCode}, '%')
</if> </if>
<if test="startDate != null and startDate != ''"> <if test="startDate != null and startDate != ''">
AND a.create_date >= #{startDate} AND a.drill_date >= #{startDate}
</if> </if>
<if test="endDate != null and endDate != ''"> <if test="endDate != null and endDate != ''">
AND #{endDate} >= a.create_date AND #{endDate} >= a.drill_date
</if> </if>
</where> </where>
order by a.create_date desc order by a.create_date desc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment