OMS-GW-log
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.mhd.oms.domain.gwLog.repository.mapper.GwLogMapper">
|
||||
|
||||
<select id="queryList" resultType="com.mhd.oms.domain.gwLog.repository.po.GwLogPO">
|
||||
SELECT *
|
||||
FROM gw_log
|
||||
WHERE DEL_FLAG = 1
|
||||
<if test="status != null">
|
||||
AND STATUS = #{status}
|
||||
</if>
|
||||
<if test="sendTimeFrom != null and sendTimeFrom != ''">
|
||||
AND DATE_FORMAT(SEND_TIME, '%Y-%m-%d') >= #{sendTimeFrom}
|
||||
</if>
|
||||
<if test="sendTimeTo != null and sendTimeTo != ''">
|
||||
AND DATE_FORMAT(SEND_TIME, '%Y-%m-%d') <= #{sendTimeTo}
|
||||
</if>
|
||||
<if test="organizationId != null">
|
||||
AND ORGANIZATION_ID = #{organizationId}
|
||||
</if>
|
||||
ORDER BY CREATE_TIME DESC
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user