OMS-GW-企业国别
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?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.erpCountry.repository.mapper.ErpCountryMapper">
|
||||
|
||||
<select id="queryList" resultType="com.mhd.oms.domain.erpCountry.repository.po.ErpCountryPO">
|
||||
SELECT ID, ERP_COUNTRY_CODE, ERP_COUNTRY_NAME, REMARK, PUSH_STATUS, PUSH_TIME, PUSH_BY,
|
||||
ORGANIZATION_ID, TOP_ORGANIZATION_ID, ORGANIZATION_NAME,
|
||||
CREATE_BY, CREATE_BY_NAME, CREATE_TIME, UPDATE_BY, UPDATE_BY_NAME, UPDATE_TIME, DEL_FLAG
|
||||
FROM ERP_COUNTRY
|
||||
WHERE DEL_FLAG = 1
|
||||
<if test="erpCountryDTO.pushStatus != null">
|
||||
AND PUSH_STATUS = #{dto.pushStatus}
|
||||
</if>
|
||||
<if test="erpCountryDTO.pushTimeFrom != null and erpCountryDTO.pushTimeFrom != ''">
|
||||
AND DATE_FORMAT(PUSH_TIME, '%Y-%m-%d') >= #{dto.pushTimeFrom}
|
||||
</if>
|
||||
<if test="erpCountryDTO.pushTimeTo != null and erpCountryDTO.pushTimeTo != ''">
|
||||
AND DATE_FORMAT(PUSH_TIME, '%Y-%m-%d') <= #{dto.pushTimeTo}
|
||||
</if>
|
||||
<if test="erpCountryDTO.organizationId != null">
|
||||
AND ORGANIZATION_ID = #{dto.organizationId}
|
||||
</if>
|
||||
ORDER BY CREATE_TIME DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user