| | |
| | | <if test="param.id != null and param.id != '' ">AND ID_ = #{param.id}</if> |
| | | <if test="param.progress != null and param.progress != '' ">AND PROGRESS_ = #{param.progress}</if> |
| | | <if test="param.end != null">AND |
| | | COMPLETE_TIME_ <![CDATA[ < ]]>#{param.end,jdbcType=TIMESTAMP} |
| | | UPDATE_TIME_ <![CDATA[ < ]]>#{param.end,jdbcType=TIMESTAMP} |
| | | </if> |
| | | <if test="param.start != null">AND |
| | | COMPLETE_TIME_ <![CDATA[ > ]]>#{param.start,jdbcType=TIMESTAMP} |
| | | UPDATE_TIME_ <![CDATA[ > ]]>#{param.start,jdbcType=TIMESTAMP} |
| | | </if> |
| | | AND PROGRESS_ = 'RECORD' |
| | | AND RECORD_STATUS_ != 'DEL' |
| | | ORDER BY COMPLETE_TIME_ |
| | | ORDER BY UPDATE_TIME_ |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | </set> |
| | | |
| | | <where> |
| | | COMPANY_ID_ = #{param.companyId}, |
| | | COMPANY_ID_ = #{param.companyId} |
| | | AND ID_ = #{param.id} |
| | | </where> |
| | | </update> |