Browse Source

指标考核关于我的考核列表查询修复

chenglong
汤建军 12 months ago
parent
commit
48d955d5a5
  1. 4
      blade-service/logpm-supervise/src/main/java/com/logpm/supervise/mapper/IndicatorsMapper.xml

4
blade-service/logpm-supervise/src/main/java/com/logpm/supervise/mapper/IndicatorsMapper.xml

@ -70,10 +70,10 @@
LEFT JOIN sup_classify AS sc ON si.classify_id = sc.id AND sc.is_deleted = 0
WHERE si.assess_dept = #{params.deptId} AND si.is_deleted = 0
<if test="params.startTime != null and params.startTime != ''" >
AND date_format(si.create_time,'%y%m%d%') >= date_format(#{params.startTime},'%y%m%d%')
AND si.create_time >= #{params.startTime}
</if>
<if test="params.endTime != null and params.endTime != ''" >
AND date_format(si.create_time,'%y%m%d%') &lt;= date_format(#{params.endTime},'%y%m%d%')
AND si.create_time &lt;= #{params.endTime}
</if>
</select>
<select id="selectMyPoints" resultType="com.logpm.supervise.vo.api.BeIndicatorsVO">

Loading…
Cancel
Save