正在显示
3 个修改的文件
包含
23 行增加
和
1 行删除
@@ -39,6 +39,18 @@ public interface LandBusinessTypeListMapper { | @@ -39,6 +39,18 @@ public interface LandBusinessTypeListMapper { | ||
39 | //查询进场过磅重量,货物重量 | 39 | //查询进场过磅重量,货物重量 |
40 | List<LandBusinessTypeList> selectwt(@Param("trailerFrameNo") String trailerFrameNo, @Param("barcode") String barcode, | 40 | List<LandBusinessTypeList> selectwt(@Param("trailerFrameNo") String trailerFrameNo, @Param("barcode") String barcode, |
41 | @Param("endstation") String endstation, @Param("turnoverflag") String turnoverflag); | 41 | @Param("endstation") String endstation, @Param("turnoverflag") String turnoverflag); |
42 | + | ||
43 | + /** | ||
44 | + * 新 | ||
45 | + * 查询进场过磅重量,货物重量,增加排除未进场的数据,从进场通道进入的会有载货重量与车辆过卡重量 | ||
46 | + * @param trailerFrameNo | ||
47 | + * @param barcode | ||
48 | + * @param endstation | ||
49 | + * @param turnoverflag | ||
50 | + * @return | ||
51 | + */ | ||
52 | + List<LandBusinessTypeList> selectwtNotNull(@Param("trailerFrameNo") String trailerFrameNo, @Param("barcode") String barcode, | ||
53 | + @Param("endstation") String endstation, @Param("turnoverflag") String turnoverflag); | ||
42 | //失效已进场或出场的申请记录 | 54 | //失效已进场或出场的申请记录 |
43 | int updateisvalid(@Param("trailerFrameNo") String trailerFrameNo, @Param("barcode") String barcode, | 55 | int updateisvalid(@Param("trailerFrameNo") String trailerFrameNo, @Param("barcode") String barcode, |
44 | @Param("endstation") String endstation, @Param("turnoverflag") String turnoverflag); | 56 | @Param("endstation") String endstation, @Param("turnoverflag") String turnoverflag); |
@@ -71,13 +71,14 @@ public class LandBusListServiceImpl implements LandBusListService { | @@ -71,13 +71,14 @@ public class LandBusListServiceImpl implements LandBusListService { | ||
71 | } | 71 | } |
72 | 72 | ||
73 | 73 | ||
74 | + @Override | ||
74 | public List<LandBusinessTypeList> selectMessageId(String messageiD){ | 75 | public List<LandBusinessTypeList> selectMessageId(String messageiD){ |
75 | return listMapper.selectMessageId(messageiD); | 76 | return listMapper.selectMessageId(messageiD); |
76 | } | 77 | } |
77 | 78 | ||
78 | @Override | 79 | @Override |
79 | public List<LandBusinessTypeList> selectwt(String frameNo, String barcode, String station, String flag) { | 80 | public List<LandBusinessTypeList> selectwt(String frameNo, String barcode, String station, String flag) { |
80 | - return listMapper.selectwt(frameNo,barcode,station,flag); | 81 | + return listMapper.selectwtNotNull(frameNo,barcode,station,flag); |
81 | } | 82 | } |
82 | 83 | ||
83 | @Override | 84 | @Override |
@@ -73,6 +73,15 @@ | @@ -73,6 +73,15 @@ | ||
73 | and ENDSTATION = #{endstation,jdbcType=VARCHAR} | 73 | and ENDSTATION = #{endstation,jdbcType=VARCHAR} |
74 | and TURNOVERFLAG = #{turnoverflag,jdbcType=VARCHAR} | 74 | and TURNOVERFLAG = #{turnoverflag,jdbcType=VARCHAR} |
75 | </select> | 75 | </select> |
76 | + | ||
77 | + <select id="selectwtNotNull" parameterType="java.lang.String" resultMap="BaseResultMap"> | ||
78 | + select REMARK,AISLEWT from land_businesstype_list where | ||
79 | + TRAILER_FRAME_NO = #{trailerFrameNo,jdbcType=VARCHAR} | ||
80 | + and BARCODE = #{barcode,jdbcType=VARCHAR} | ||
81 | + and ENDSTATION = #{endstation,jdbcType=VARCHAR} | ||
82 | + and TURNOVERFLAG = #{turnoverflag,jdbcType=VARCHAR} | ||
83 | + AND AISLEWT IS NOT NULL AND REMARK IS NOT NULL | ||
84 | + </select> | ||
76 | <update id="updateisvalid" parameterType="java.lang.String"> | 85 | <update id="updateisvalid" parameterType="java.lang.String"> |
77 | update land_businesstype_list set ISVALID = "1" where | 86 | update land_businesstype_list set ISVALID = "1" where |
78 | TRAILER_FRAME_NO = #{trailerFrameNo,jdbcType=VARCHAR} | 87 | TRAILER_FRAME_NO = #{trailerFrameNo,jdbcType=VARCHAR} |
-
请 注册 或 登录 后发表评论