feat: 下载高级搜索 收货发货
parent
314f059fe9
commit
0b380675c8
@ -1,28 +1,24 @@
|
||||
<?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.glxp.mipsdl.thirddao.ctqyy.VYpzsPlanInfoMapper">
|
||||
|
||||
|
||||
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.ctqyy.VYpzsPlanInfo">
|
||||
SELECT
|
||||
CGDBH
|
||||
FROM
|
||||
V_YPZS_PLAN_INFO
|
||||
SELECT CGDBH
|
||||
FROM V_YPZS_PLAN_INFO
|
||||
<where>
|
||||
|
||||
<if test="udiwmsThrOrderRequest.billNo != null and udiwmsThrOrderRequest.billNo != ''">
|
||||
and CGDBH like concat('%', #{udiwmsThrOrderRequest.billNo}, '%')
|
||||
and CGDBH like '%' || #{udiwmsThrOrderRequest.billNo} || '%'
|
||||
</if>
|
||||
|
||||
<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>
|
||||
</where>
|
||||
GROUP BY
|
||||
CGDBH
|
||||
ORDER BY
|
||||
CGDBH
|
||||
GROUP BY CGDBH
|
||||
ORDER BY CGDBH
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
Loading…
Reference in New Issue