|
|
@ -45,15 +45,15 @@ |
|
|
|
and si.id = #{id} |
|
|
|
and si.id = #{id} |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<select id="selectMyApiIndicators" resultType="com.logpm.supervise.vo.IndicatorsVO"> |
|
|
|
<select id="selectMyApiIndicators" resultType="com.logpm.supervise.vo.IndicatorsVO"> |
|
|
|
SELECT * FROM sup_indicators WHERE is_deleted = 0 and |
|
|
|
SELECT * FROM sup_indicators WHERE is_deleted = 0 and create_user = #{params.userId} |
|
|
|
<if test="param.assessDept != null and param.assessDept != ''" > |
|
|
|
<if test="params.assessDept != null and params.assessDept != ''" > |
|
|
|
and assess_dept = #{param.assessDept} |
|
|
|
and assess_dept = #{params.assessDept} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.startTime != null and param.startTime != ''" > |
|
|
|
<if test="params.startTime != null and params.startTime != ''" > |
|
|
|
and date_format(create_time,'%y%m%d%') >= date_format(#{param.startTime},'%y%m%d%') |
|
|
|
and date_format(create_time,'%y%m%d%') >= date_format(#{params.startTime},'%y%m%d%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.endTime != null and param.endTime != ''" > |
|
|
|
<if test="params.endTime != null and params.endTime != ''" > |
|
|
|
and date_format(create_time,'%y%m%d%') <= date_format(#{param.endTime},'%y%m%d%') |
|
|
|
and date_format(create_time,'%y%m%d%') <= date_format(#{params.endTime},'%y%m%d%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|