feat: 下载高级搜索 收货发货
parent
314f059fe9
commit
0b380675c8
@ -1,28 +1,24 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="com.glxp.mipsdl.thirddao.ctqyy.VYpzsPlanInfoMapper">
|
<mapper namespace="com.glxp.mipsdl.thirddao.ctqyy.VYpzsPlanInfoMapper">
|
||||||
|
|
||||||
|
|
||||||
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.ctqyy.VYpzsPlanInfo">
|
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.ctqyy.VYpzsPlanInfo">
|
||||||
SELECT
|
SELECT CGDBH
|
||||||
CGDBH
|
FROM V_YPZS_PLAN_INFO
|
||||||
FROM
|
|
||||||
V_YPZS_PLAN_INFO
|
|
||||||
<where>
|
<where>
|
||||||
|
|
||||||
<if test="udiwmsThrOrderRequest.billNo != null and udiwmsThrOrderRequest.billNo != ''">
|
<if test="udiwmsThrOrderRequest.billNo != null and udiwmsThrOrderRequest.billNo != ''">
|
||||||
and CGDBH like concat('%', #{udiwmsThrOrderRequest.billNo}, '%')
|
and CGDBH like '%' || #{udiwmsThrOrderRequest.billNo} || '%'
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if test="udiwmsThrOrderRequest.keyWords != null and udiwmsThrOrderRequest.keyWords != ''">
|
<if test="udiwmsThrOrderRequest.keyWords != null and udiwmsThrOrderRequest.keyWords != ''">
|
||||||
and (CGDBH like concat('%', #{udiwmsThrOrderRequest.keyWords}, '%')
|
and (CGDBH like '%' || #{udiwmsThrOrderRequest.keyWords} || '%'
|
||||||
|
)
|
||||||
|
</if>
|
||||||
|
<if test="udiwmsThrOrderRequest.fromCorpName != null and udiwmsThrOrderRequest.fromCorpName != ''">
|
||||||
|
and (SCQYMC like '%' || #{udiwmsThrOrderRequest.fromCorpName} || '%'
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
GROUP BY
|
GROUP BY CGDBH
|
||||||
CGDBH
|
ORDER BY CGDBH
|
||||||
ORDER BY
|
|
||||||
CGDBH
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
Loading…
Reference in New Issue