|
@@ -3,7 +3,7 @@
|
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
<mapper namespace="com.ruoyi.warehouseBusiness.mapper.TWarehousebillsModifyMapper">
|
|
|
-
|
|
|
+
|
|
|
<resultMap type="TWarehousebillsModify" id="TWarehousebillsModifyResult">
|
|
|
<result property="fId" column="f_id" />
|
|
|
<result property="fPid" column="f_pid" />
|
|
@@ -15,6 +15,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="fGoodsid" column="f_goodsid" />
|
|
|
<result property="fMarks" column="f_marks" />
|
|
|
<result property="fWarehouseid" column="f_warehouseid" />
|
|
|
+ <result property="fVslid" column="f_vslid" />
|
|
|
+ <result property="fVoyid" column="f_voyid" />
|
|
|
<result property="fBstime" column="f_bstime" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
<result property="createBy" column="create_by" />
|
|
@@ -26,12 +28,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTWarehousebillsModifyVo">
|
|
|
- select f_id, f_pid, f_billno, f_dc, f_corpid, f_billtype, f_mblno, f_goodsid, f_marks, f_warehouseid, f_bstime, del_flag, f_status, create_by, create_time, update_by, update_time, remark from t_warehousebills_modify
|
|
|
+ select f_id, f_pid, f_billno, f_dc, f_corpid, f_billtype, f_mblno, f_goodsid, f_marks, f_warehouseid, f_vslid, f_voyid, f_bstime, del_flag, f_status, create_by, create_time, update_by, update_time, remark from t_warehousebills_modify
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTWarehousebillsModifyList" parameterType="TWarehousebillsModify" resultMap="TWarehousebillsModifyResult">
|
|
|
<include refid="selectTWarehousebillsModifyVo"/>
|
|
|
- <where>
|
|
|
+ <where>
|
|
|
<if test="fBillno != null and fBillno != ''"> and f_billno = #{fBillno}</if>
|
|
|
<if test="fDc != null and fDc != ''"> and f_dc = #{fDc}</if>
|
|
|
<if test="fCorpid != null "> and f_corpid = #{fCorpid}</if>
|
|
@@ -40,13 +42,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="fGoodsid != null "> and f_goodsid = #{fGoodsid}</if>
|
|
|
<if test="fMarks != null and fMarks != ''"> and f_marks = #{fMarks}</if>
|
|
|
<if test="fWarehouseid != null "> and f_warehouseid = #{fWarehouseid}</if>
|
|
|
+ <if test="fVslid != null "> and f_vslid = #{fVslid}</if>
|
|
|
+ <if test="fVoyid != null "> and f_voyid = #{fVoyid}</if>
|
|
|
<if test="fStatus != null "> and f_status = #{fStatus}</if>
|
|
|
<if test="bstimeList != null and bstimeList[0] != null and bstimeList[0] != ''"> and f_bstime BETWEEN #{bstimeList[0]} and #{bstimeList[1]}</if>
|
|
|
<if test="createTimeList != null and createTimeList[0] != null and createTimeList[0] != ''"> and create_time BETWEEN #{createTimeList[0]} and #{createTimeList[1]}</if>
|
|
|
</where>
|
|
|
order by f_id desc
|
|
|
</select>
|
|
|
-
|
|
|
+
|
|
|
<select id="selectTWarehousebillsModifyById" parameterType="Long" resultMap="TWarehousebillsModifyResult">
|
|
|
<include refid="selectTWarehousebillsModifyVo"/>
|
|
|
where f_id = #{fId}
|
|
@@ -71,6 +75,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="fGoodsid != null">f_goodsid,</if>
|
|
|
<if test="fMarks != null">f_marks,</if>
|
|
|
<if test="fWarehouseid != null">f_warehouseid,</if>
|
|
|
+ <if test="fVslid != null">f_vslid,</if>
|
|
|
+ <if test="fVoyid != null">f_voyid,</if>
|
|
|
<if test="fBstime != null">f_bstime,</if>
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
@@ -90,6 +96,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="fGoodsid != null">#{fGoodsid},</if>
|
|
|
<if test="fMarks != null">#{fMarks},</if>
|
|
|
<if test="fWarehouseid != null">#{fWarehouseid},</if>
|
|
|
+ <if test="fVslid != null">#{fVslid},</if>
|
|
|
+ <if test="fVoyid != null">#{fVoyid},</if>
|
|
|
<if test="fBstime != null">#{fBstime},</if>
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
@@ -113,6 +121,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="fGoodsid != null">f_goodsid = #{fGoodsid},</if>
|
|
|
<if test="fMarks != null">f_marks = #{fMarks},</if>
|
|
|
<if test="fWarehouseid != null">f_warehouseid = #{fWarehouseid},</if>
|
|
|
+ <if test="fVslid != null">f_vslid = #{fVslid},</if>
|
|
|
+ <if test="fVoyid != null">f_voyid = #{fVoyid},</if>
|
|
|
<if test="fBstime != null">f_bstime = #{fBstime},</if>
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
@@ -130,10 +140,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</delete>
|
|
|
|
|
|
<delete id="deleteTWarehousebillsModifyByIds" parameterType="String">
|
|
|
- delete from t_warehousebills_modify where f_id in
|
|
|
+ delete from t_warehousebills_modify where f_id in
|
|
|
<foreach item="fId" collection="array" open="(" separator="," close=")">
|
|
|
#{fId}
|
|
|
</foreach>
|
|
|
</delete>
|
|
|
-
|
|
|
-</mapper>
|
|
|
+
|
|
|
+</mapper>
|