Browse Source

团队重构

master
陈裕财 3 years ago
parent
commit
b96f0081e5
  1. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmBranchStateHisMapper.xml
  2. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmIterationStateHisMapper.xml
  3. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProductStateHisMapper.xml
  4. 5
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectStateHisMapper.xml

2
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmBranchStateHisMapper.xml

@ -12,6 +12,8 @@
</foreach> </foreach>
</if> </if>
<if test="key != null and key !='' "> </if> <if test="key != null and key !='' "> </if>
<if test="startBizDate != null and startBizDate !='' "> and res.biz_date &gt;=#{startBizDate} </if>
<if test="endBizDate != null and endBizDate !='' "> and res.biz_date &lt;=#{endBizDate} </if>
</sql> </sql>
<select id="listXmBranchFiveDayTaskCnt" parameterType="HashMap" resultType="HashMap"> <select id="listXmBranchFiveDayTaskCnt" parameterType="HashMap" resultType="HashMap">
select res.biz_date,res.task_unstart_cnt,res.task_exec_cnt,res.task_finish_cnt,res.task_cnt,res.task_close_cnt from xm_branch_state_his res select res.biz_date,res.task_unstart_cnt,res.task_exec_cnt,res.task_finish_cnt,res.task_cnt,res.task_close_cnt from xm_branch_state_his res

2
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmIterationStateHisMapper.xml

@ -12,6 +12,8 @@
</foreach> </foreach>
</if> </if>
<if test="key != null and key !='' "> </if> <if test="key != null and key !='' "> </if>
<if test="startBizDate != null and startBizDate !='' "> and res.biz_date &gt;=#{startBizDate} </if>
<if test="endBizDate != null and endBizDate !='' "> and res.biz_date &lt;=#{endBizDate} </if>
</sql> </sql>

2
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProductStateHisMapper.xml

@ -12,6 +12,8 @@
</foreach> </foreach>
</if> </if>
<if test="key != null and key !='' "> </if> <if test="key != null and key !='' "> </if>
<if test="startBizDate != null and startBizDate !='' "> and res.biz_date &gt;=#{startBizDate} </if>
<if test="endBizDate != null and endBizDate !='' "> and res.biz_date &lt;=#{endBizDate} </if>
</sql> </sql>

5
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectStateHisMapper.xml

@ -12,9 +12,8 @@
</foreach> </foreach>
</if> </if>
<if test="key != null and key !='' "> </if> <if test="key != null and key !='' "> </if>
<if test="startBizDate!=null and startBizDate!=''">
and res.biz_date between #{startBizDate} and #{endBizDate}
</if>
<if test="startBizDate != null and startBizDate !='' "> and res.biz_date &gt;=#{startBizDate} </if>
<if test="endBizDate != null and endBizDate !='' "> and res.biz_date &lt;=#{endBizDate} </if>
</sql> </sql>

Loading…
Cancel
Save