1.添加查询汇总记录详情接口
parent
9a9b292495
commit
aca8b1b682
@ -1,5 +1,20 @@
|
||||
<?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.api.dao.inout.IoStatDayDao">
|
||||
<select id="filterList" resultType="com.glxp.api.entity.inout.IoStatDayEntity">
|
||||
select *
|
||||
from io_stat_day
|
||||
<where>
|
||||
<if test="recordKey != null and recordKey != ''">
|
||||
AND recordKeyFk = #{recordKey}
|
||||
</if>
|
||||
<if test="batchNo != null and batchNo != ''">
|
||||
AND batchNo like concat('%', #{batchNo}, '%')
|
||||
</if>
|
||||
<if test="productName != null and productName != ''">
|
||||
AND productName like concat('%', #{productName}, '%')
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
@ -1,4 +1,19 @@
|
||||
<?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.api.dao.inout.IoStatMonthDao">
|
||||
<select id="filterList" resultType="com.glxp.api.entity.inout.IoStatMonthEntity">
|
||||
select *
|
||||
from io_stat_month
|
||||
<where>
|
||||
<if test="recordKey != null and recordKey != ''">
|
||||
AND recordKeyFk = #{recordKey}
|
||||
</if>
|
||||
<if test="batchNo != null and batchNo != ''">
|
||||
AND batchNo like concat('%', #{batchNo}, '%')
|
||||
</if>
|
||||
<if test="productName != null and productName != ''">
|
||||
AND productName like concat('%', #{productName}, '%')
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
@ -1,4 +1,19 @@
|
||||
<?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.api.dao.inout.IoStatQuarterDao">
|
||||
<select id="filterList" resultType="com.glxp.api.entity.inout.IoStatQuarterEntity">
|
||||
select *
|
||||
from io_stat_quarter
|
||||
<where>
|
||||
<if test="recordKey != null and recordKey != ''">
|
||||
AND recordKeyFk = #{recordKey}
|
||||
</if>
|
||||
<if test="batchNo != null and batchNo != ''">
|
||||
AND batchNo like concat('%', #{batchNo}, '%')
|
||||
</if>
|
||||
<if test="productName != null and productName != ''">
|
||||
AND productName like concat('%', #{productName}, '%')
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
@ -1,4 +1,19 @@
|
||||
<?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.api.dao.inout.IoStatYearDao">
|
||||
<select id="filterList" resultType="com.glxp.api.entity.inout.IoStatYearEntity">
|
||||
select *
|
||||
from io_stat_year
|
||||
<where>
|
||||
<if test="recordKey != null and recordKey != ''">
|
||||
AND recordKeyFk = #{recordKey}
|
||||
</if>
|
||||
<if test="batchNo != null and batchNo != ''">
|
||||
AND batchNo like concat('%', #{batchNo}, '%')
|
||||
</if>
|
||||
<if test="productName != null and productName != ''">
|
||||
AND productName like concat('%', #{productName}, '%')
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
Loading…
Reference in New Issue