正在显示
6 个修改的文件
包含
72 行增加
和
101 行删除
| @@ -3,7 +3,6 @@ package com.sy.logic; | @@ -3,7 +3,6 @@ package com.sy.logic; | ||
| 3 | 3 | ||
| 4 | import com.alibaba.fastjson.JSON; | 4 | import com.alibaba.fastjson.JSON; |
| 5 | import com.alibaba.fastjson.JSONArray; | 5 | import com.alibaba.fastjson.JSONArray; |
| 6 | -import com.sy.crossDomain.buildBarCode; | ||
| 7 | import com.sy.model.GatherInfo; | 6 | import com.sy.model.GatherInfo; |
| 8 | import com.sy.model.LandBusinessTypeList; | 7 | import com.sy.model.LandBusinessTypeList; |
| 9 | import com.sy.model.LandRoadVe; | 8 | import com.sy.model.LandRoadVe; |
| @@ -11,7 +10,6 @@ import com.sy.service.LandBusListService; | @@ -11,7 +10,6 @@ import com.sy.service.LandBusListService; | ||
| 11 | import com.sy.service.LandRoadVeService; | 10 | import com.sy.service.LandRoadVeService; |
| 12 | import com.sy.socket.CommandClient; | 11 | import com.sy.socket.CommandClient; |
| 13 | import com.sy.utils.FileTool; | 12 | import com.sy.utils.FileTool; |
| 14 | -import com.sy.utils.UUIDCreate; | ||
| 15 | import org.apache.log4j.Logger; | 13 | import org.apache.log4j.Logger; |
| 16 | import org.springframework.beans.factory.annotation.Autowired; | 14 | import org.springframework.beans.factory.annotation.Autowired; |
| 17 | import org.springframework.stereotype.Component; | 15 | import org.springframework.stereotype.Component; |
| @@ -26,7 +24,6 @@ import java.net.URL; | @@ -26,7 +24,6 @@ import java.net.URL; | ||
| 26 | import java.net.URLConnection; | 24 | import java.net.URLConnection; |
| 27 | import java.text.NumberFormat; | 25 | import java.text.NumberFormat; |
| 28 | import java.text.ParseException; | 26 | import java.text.ParseException; |
| 29 | -import java.util.Date; | ||
| 30 | import java.util.List; | 27 | import java.util.List; |
| 31 | import java.util.Map; | 28 | import java.util.Map; |
| 32 | 29 | ||
| @@ -74,54 +71,21 @@ public class LogicOperation { | @@ -74,54 +71,21 @@ public class LogicOperation { | ||
| 74 | String vaName = info.getVename(); | 71 | String vaName = info.getVename(); |
| 75 | LandRoadVe ve = logic.veService.selectByFrameNo(vaName); | 72 | LandRoadVe ve = logic.veService.selectByFrameNo(vaName); |
| 76 | if(ve ==null) return result; | 73 | if(ve ==null) return result; |
| 77 | - if ("E".equals(ietype)) { | ||
| 78 | - ietype = "出场站"; | ||
| 79 | - lists = logic.listService.selectByFrameNoAndType(info.getVename(), ietype); | ||
| 80 | - for (LandBusinessTypeList list : lists) { | ||
| 81 | - //查询是否做了出场申请 | ||
| 82 | - if (list.getContrastflag() == null || list.getContrastflag() == "" || list.getContrastflag().length() <= 0) { | ||
| 83 | - //判断载货重量是否符合所设定的范围 | ||
| 84 | - double goodsWt = 0.0; | ||
| 85 | - if (list.getMasterList().length() > 0) { | ||
| 86 | - goodsWt = GoodsWt(list.getMasterList(), "I"); | ||
| 87 | - } | ||
| 88 | - double selfWt = Double.parseDouble(ve.getSelfWt()); | ||
| 89 | - if (sendBw(info, growssWt, selfWt, goodsWt)) { | ||
| 90 | - list.setContrastflag("已出站"); | ||
| 91 | - logic.listService.updateById(list); | ||
| 92 | - if ("货物流转".equals(list.getBusinesstype()) | "分拨分流".equals(list.getBusinesstype())) { | ||
| 93 | - if (list.getMasterList().length() > 0) { | ||
| 94 | - createTypeList(list); | ||
| 95 | - } | ||
| 96 | - } | ||
| 97 | - result = true; | ||
| 98 | - } | ||
| 99 | - } else { | ||
| 100 | - CommandClient.Client(info, ENTERSTATION); | ||
| 101 | - } | ||
| 102 | - } | ||
| 103 | - } else { | ||
| 104 | - ietype = "进场站"; | ||
| 105 | - lists = logic.listService.selectByFrameNoAndType(info.getVename(), ietype); | ||
| 106 | - for (LandBusinessTypeList list : lists) { | ||
| 107 | - //查询是否做了出场申请 | ||
| 108 | - if (list.getContrastflag() == null || list.getContrastflag() == "" || list.getContrastflag().length | ||
| 109 | - () <= 0) { | ||
| 110 | - //判断载货重量是否符合所设定的范围 | ||
| 111 | - double goodsWt = 0.0; | ||
| 112 | - if(list.getMasterList().length() > 0){ | ||
| 113 | - goodsWt = GoodsWt(list.getMasterList(), "E"); | ||
| 114 | - } | ||
| 115 | - double selfWt = Double.parseDouble(ve.getSelfWt()); | ||
| 116 | - if (sendBw(info, growssWt, selfWt, goodsWt)) { | ||
| 117 | - list.setContrastflag("已进站"); | ||
| 118 | - logic.listService.updateById(list); | ||
| 119 | - result = true; | ||
| 120 | - } | ||
| 121 | - } else { | ||
| 122 | - CommandClient.Client(info, INPUTSTATION); | ||
| 123 | - } | 74 | + LandBusinessTypeList list = logic.listService.selectForOne(info.getVename(),info.getBarcode(),info.getAreaid |
| 75 | + (),info.getChnlno(),info.getIetype()); | ||
| 76 | + double goodsWt = 0.0; | ||
| 77 | + if (list.getMasterList().length() > 0) { | ||
| 78 | + goodsWt = GoodsWt(list.getMasterList(), info.getIetype()); | ||
| 79 | + } | ||
| 80 | + double selfWt = Double.parseDouble(ve.getSelfWt()); | ||
| 81 | + if (sendBw(info, growssWt, selfWt, goodsWt)) { | ||
| 82 | + if ("I".equals(info.getIetype())) { | ||
| 83 | + list.setContrastflag("已进站"); | ||
| 84 | + } else { | ||
| 85 | + list.setContrastflag("已出站"); | ||
| 124 | } | 86 | } |
| 87 | + logic.listService.updateById(list); | ||
| 88 | + result = true; | ||
| 125 | } | 89 | } |
| 126 | return result; | 90 | return result; |
| 127 | } | 91 | } |
| @@ -219,36 +183,6 @@ public class LogicOperation { | @@ -219,36 +183,6 @@ public class LogicOperation { | ||
| 219 | return bg; | 183 | return bg; |
| 220 | } | 184 | } |
| 221 | 185 | ||
| 222 | - /** | ||
| 223 | - * 分拨或者流转业务生成新的进站申请 | ||
| 224 | - */ | ||
| 225 | - public static void createTypeList(LandBusinessTypeList list) { | ||
| 226 | - LandBusinessTypeList typeList = new LandBusinessTypeList(); | ||
| 227 | - typeList.setId(UUIDCreate.getUUID()); | ||
| 228 | - typeList.setAgentname(list.getAgentname()); | ||
| 229 | - typeList.setAgentno(list.getAgentno()); | ||
| 230 | - typeList.setAisle("1号卡口-进"); | ||
| 231 | - typeList.setCreateBy(list.getCreateBy()); | ||
| 232 | - typeList.setUpdateBy(list.getUpdateBy()); | ||
| 233 | - typeList.setCreateDate(new Date()); | ||
| 234 | - typeList.setUpdateDate(new Date()); | ||
| 235 | - typeList.setCocode(list.getCocode()); | ||
| 236 | - typeList.setDriverid(list.getDriverid()); | ||
| 237 | - typeList.setDrivername(list.getDrivername()); | ||
| 238 | - typeList.setStartport(list.getEndport()); | ||
| 239 | - typeList.setStartsatation(list.getEndstation()); | ||
| 240 | - typeList.setEndport(list.getStartport()); | ||
| 241 | - typeList.setEndstation(list.getStartsatation()); | ||
| 242 | - typeList.setTrailerFrameNo(list.getTrailerFrameNo()); | ||
| 243 | - typeList.setTrailerLicenseNo(list.getTrailerLicenseNo()); | ||
| 244 | - typeList.setTurnoverflag("进场站"); | ||
| 245 | - typeList.setProdectTime(new Date()); | ||
| 246 | - typeList.setMasterList(list.getMasterList()); | ||
| 247 | - typeList.setBusinesstype(list.getBusinesstype()); | ||
| 248 | - String barCode = buildBarCode.CreateBarCode(list.getTrailerFrameNo(),"",list.getMasterList()); | ||
| 249 | - typeList.setBarCode(barCode); | ||
| 250 | - logic.listService.saveList(typeList); | ||
| 251 | - } | ||
| 252 | 186 | ||
| 253 | /** | 187 | /** |
| 254 | * 校验重量并发送报文 | 188 | * 校验重量并发送报文 |
| @@ -2,10 +2,9 @@ package com.sy.mapper; | @@ -2,10 +2,9 @@ package com.sy.mapper; | ||
| 2 | 2 | ||
| 3 | import com.sy.model.LandBusinessTypeList; | 3 | import com.sy.model.LandBusinessTypeList; |
| 4 | import org.apache.ibatis.annotations.Param; | 4 | import org.apache.ibatis.annotations.Param; |
| 5 | -import org.springframework.stereotype.Component; | ||
| 6 | 5 | ||
| 7 | import java.util.List; | 6 | import java.util.List; |
| 8 | -@Component | 7 | + |
| 9 | public interface LandBusinessTypeListMapper { | 8 | public interface LandBusinessTypeListMapper { |
| 10 | int deleteByPrimaryKey(String id); | 9 | int deleteByPrimaryKey(String id); |
| 11 | 10 | ||
| @@ -21,4 +20,8 @@ public interface LandBusinessTypeListMapper { | @@ -21,4 +20,8 @@ public interface LandBusinessTypeListMapper { | ||
| 21 | //根据车牌号和进出场标志查询 | 20 | //根据车牌号和进出场标志查询 |
| 22 | List<LandBusinessTypeList> selectFrameNoAndType(@Param("trailerFrameNo") String frameNo, | 21 | List<LandBusinessTypeList> selectFrameNoAndType(@Param("trailerFrameNo") String frameNo, |
| 23 | @Param("turnoverflag") String flag); | 22 | @Param("turnoverflag") String flag); |
| 23 | + | ||
| 24 | + LandBusinessTypeList selectForOne(@Param("trailerFrameNo") String trailerFrameNo, @Param("barcode") String barcode, | ||
| 25 | + @Param("endstation") String endstation, @Param("aisle") String aisle, | ||
| 26 | + @Param("turnoverflag") String turnoverflag); | ||
| 24 | } | 27 | } |
| @@ -41,6 +41,8 @@ public class LandBusinessTypeList { | @@ -41,6 +41,8 @@ public class LandBusinessTypeList { | ||
| 41 | 41 | ||
| 42 | private String turnoverflag; | 42 | private String turnoverflag; |
| 43 | 43 | ||
| 44 | + private String barcode; | ||
| 45 | + | ||
| 44 | private String contrastflag; | 46 | private String contrastflag; |
| 45 | 47 | ||
| 46 | private String createBy; | 48 | private String createBy; |
| @@ -51,8 +53,6 @@ public class LandBusinessTypeList { | @@ -51,8 +53,6 @@ public class LandBusinessTypeList { | ||
| 51 | 53 | ||
| 52 | private Date updateDate; | 54 | private Date updateDate; |
| 53 | 55 | ||
| 54 | - private String barCode; | ||
| 55 | - | ||
| 56 | public String getId() { | 56 | public String getId() { |
| 57 | return id; | 57 | return id; |
| 58 | } | 58 | } |
| @@ -205,6 +205,14 @@ public class LandBusinessTypeList { | @@ -205,6 +205,14 @@ public class LandBusinessTypeList { | ||
| 205 | this.turnoverflag = turnoverflag == null ? null : turnoverflag.trim(); | 205 | this.turnoverflag = turnoverflag == null ? null : turnoverflag.trim(); |
| 206 | } | 206 | } |
| 207 | 207 | ||
| 208 | + public String getBarcode() { | ||
| 209 | + return barcode; | ||
| 210 | + } | ||
| 211 | + | ||
| 212 | + public void setBarcode(String barcode) { | ||
| 213 | + this.barcode = barcode == null ? null : barcode.trim(); | ||
| 214 | + } | ||
| 215 | + | ||
| 208 | public String getContrastflag() { | 216 | public String getContrastflag() { |
| 209 | return contrastflag; | 217 | return contrastflag; |
| 210 | } | 218 | } |
| @@ -244,12 +252,4 @@ public class LandBusinessTypeList { | @@ -244,12 +252,4 @@ public class LandBusinessTypeList { | ||
| 244 | public void setUpdateDate(Date updateDate) { | 252 | public void setUpdateDate(Date updateDate) { |
| 245 | this.updateDate = updateDate; | 253 | this.updateDate = updateDate; |
| 246 | } | 254 | } |
| 247 | - | ||
| 248 | - public String getBarCode() { | ||
| 249 | - return barCode; | ||
| 250 | - } | ||
| 251 | - | ||
| 252 | - public void setBarCode(String barCode) { | ||
| 253 | - this.barCode = barCode; | ||
| 254 | - } | ||
| 255 | } | 255 | } |
| @@ -12,4 +12,6 @@ public interface LandBusListService { | @@ -12,4 +12,6 @@ public interface LandBusListService { | ||
| 12 | int updateById(LandBusinessTypeList list); | 12 | int updateById(LandBusinessTypeList list); |
| 13 | 13 | ||
| 14 | int saveList(LandBusinessTypeList list); | 14 | int saveList(LandBusinessTypeList list); |
| 15 | + | ||
| 16 | + LandBusinessTypeList selectForOne(String frameNo, String barcode, String station, String aisle, String flag); | ||
| 15 | } | 17 | } |
| @@ -42,4 +42,15 @@ public class LandBusListServiceImpl implements LandBusListService { | @@ -42,4 +42,15 @@ public class LandBusListServiceImpl implements LandBusListService { | ||
| 42 | public int saveList(LandBusinessTypeList list) { | 42 | public int saveList(LandBusinessTypeList list) { |
| 43 | return listMapper.insert(list); | 43 | return listMapper.insert(list); |
| 44 | } | 44 | } |
| 45 | + | ||
| 46 | + @Override | ||
| 47 | + public LandBusinessTypeList selectForOne(String frameNo, String barcode, String station, String aisle, String flag) { | ||
| 48 | + LandBusinessTypeList list= null; | ||
| 49 | + try{ | ||
| 50 | + list = listMapper.selectForOne(frameNo,barcode,station,aisle,flag); | ||
| 51 | + }catch (Exception e){ | ||
| 52 | + System.out.println(e.getMessage()); | ||
| 53 | + } | ||
| 54 | + return list; | ||
| 55 | + } | ||
| 45 | } | 56 | } |
| @@ -21,6 +21,7 @@ | @@ -21,6 +21,7 @@ | ||
| 21 | <result column="AISLE" jdbcType="VARCHAR" property="aisle" /> | 21 | <result column="AISLE" jdbcType="VARCHAR" property="aisle" /> |
| 22 | <result column="BUSINESSTYPE" jdbcType="VARCHAR" property="businesstype" /> | 22 | <result column="BUSINESSTYPE" jdbcType="VARCHAR" property="businesstype" /> |
| 23 | <result column="TURNOVERFLAG" jdbcType="VARCHAR" property="turnoverflag" /> | 23 | <result column="TURNOVERFLAG" jdbcType="VARCHAR" property="turnoverflag" /> |
| 24 | + <result column="BARCODE" jdbcType="VARCHAR" property="barcode" /> | ||
| 24 | <result column="CONTRASTFLAG" jdbcType="VARCHAR" property="contrastflag" /> | 25 | <result column="CONTRASTFLAG" jdbcType="VARCHAR" property="contrastflag" /> |
| 25 | <result column="CREATE_BY" jdbcType="VARCHAR" property="createBy" /> | 26 | <result column="CREATE_BY" jdbcType="VARCHAR" property="createBy" /> |
| 26 | <result column="CREATE_DATE" jdbcType="TIMESTAMP" property="createDate" /> | 27 | <result column="CREATE_DATE" jdbcType="TIMESTAMP" property="createDate" /> |
| @@ -30,8 +31,8 @@ | @@ -30,8 +31,8 @@ | ||
| 30 | <sql id="Base_Column_List"> | 31 | <sql id="Base_Column_List"> |
| 31 | id, MASSAGE_ID, TRAILER_FRAME_NO, TRAILER_LICENSE_NO, MASTER_LIST, PRODECT_TIME, | 32 | id, MASSAGE_ID, TRAILER_FRAME_NO, TRAILER_LICENSE_NO, MASTER_LIST, PRODECT_TIME, |
| 32 | RETURNMESSAGE, AGENTNO, AGENTNAME, COCODE, DRIVERNAME, DRIVERID, STARTPORT, ENDPORT, | 33 | RETURNMESSAGE, AGENTNO, AGENTNAME, COCODE, DRIVERNAME, DRIVERID, STARTPORT, ENDPORT, |
| 33 | - STARTSATATION, ENDSTATION, AISLE, BUSINESSTYPE, TURNOVERFLAG, CONTRASTFLAG, CREATE_BY, | ||
| 34 | - CREATE_DATE, UPDATE_BY, UPDATE_DATE | 34 | + STARTSATATION, ENDSTATION, AISLE, BUSINESSTYPE, TURNOVERFLAG, BARCODE, CONTRASTFLAG, |
| 35 | + CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE | ||
| 35 | </sql> | 36 | </sql> |
| 36 | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> | 37 | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| 37 | select | 38 | select |
| @@ -39,7 +40,6 @@ | @@ -39,7 +40,6 @@ | ||
| 39 | from land_businesstype_list | 40 | from land_businesstype_list |
| 40 | where id = #{id,jdbcType=VARCHAR} | 41 | where id = #{id,jdbcType=VARCHAR} |
| 41 | </select> | 42 | </select> |
| 42 | - | ||
| 43 | <select id="selectFrameNoAndType" parameterType="java.lang.String" resultMap="BaseResultMap"> | 43 | <select id="selectFrameNoAndType" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| 44 | select | 44 | select |
| 45 | <include refid="Base_Column_List" /> | 45 | <include refid="Base_Column_List" /> |
| @@ -47,6 +47,17 @@ | @@ -47,6 +47,17 @@ | ||
| 47 | where TRAILER_FRAME_NO = #{trailerFrameNo,jdbcType=VARCHAR} | 47 | where TRAILER_FRAME_NO = #{trailerFrameNo,jdbcType=VARCHAR} |
| 48 | and TURNOVERFLAG = #{turnoverflag,jdbcType=VARCHAR} | 48 | and TURNOVERFLAG = #{turnoverflag,jdbcType=VARCHAR} |
| 49 | </select> | 49 | </select> |
| 50 | + | ||
| 51 | + <select id="selectForOne" parameterType="java.lang.String" resultMap="BaseResultMap"> | ||
| 52 | + select | ||
| 53 | + <include refid="Base_Column_List" /> | ||
| 54 | + from land_businesstype_list | ||
| 55 | + where TRAILER_FRAME_NO = #{trailerFrameNo,jdbcType=VARCHAR} | ||
| 56 | + and BARCODE = #{barcode,jdbcType=VARCHAR} | ||
| 57 | + and ENDSTATION = #{endstation,jdbcType=VARCHAR} | ||
| 58 | + and AISLE = #{aisle,jdbcType=VARCHAR} | ||
| 59 | + and TURNOVERFLAG = #{turnoverflag,jdbcType=VARCHAR} | ||
| 60 | + </select> | ||
| 50 | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> | 61 | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| 51 | delete from land_businesstype_list | 62 | delete from land_businesstype_list |
| 52 | where id = #{id,jdbcType=VARCHAR} | 63 | where id = #{id,jdbcType=VARCHAR} |
| @@ -58,18 +69,18 @@ | @@ -58,18 +69,18 @@ | ||
| 58 | COCODE, DRIVERNAME, DRIVERID, | 69 | COCODE, DRIVERNAME, DRIVERID, |
| 59 | STARTPORT, ENDPORT, STARTSATATION, | 70 | STARTPORT, ENDPORT, STARTSATATION, |
| 60 | ENDSTATION, AISLE, BUSINESSTYPE, | 71 | ENDSTATION, AISLE, BUSINESSTYPE, |
| 61 | - TURNOVERFLAG, CONTRASTFLAG, CREATE_BY, | ||
| 62 | - CREATE_DATE, UPDATE_BY, UPDATE_DATE | ||
| 63 | - ) | 72 | + TURNOVERFLAG, BARCODE, CONTRASTFLAG, |
| 73 | + CREATE_BY, CREATE_DATE, UPDATE_BY, | ||
| 74 | + UPDATE_DATE) | ||
| 64 | values (#{id,jdbcType=VARCHAR}, #{massageId,jdbcType=VARCHAR}, #{trailerFrameNo,jdbcType=VARCHAR}, | 75 | values (#{id,jdbcType=VARCHAR}, #{massageId,jdbcType=VARCHAR}, #{trailerFrameNo,jdbcType=VARCHAR}, |
| 65 | #{trailerLicenseNo,jdbcType=VARCHAR}, #{masterList,jdbcType=VARCHAR}, #{prodectTime,jdbcType=TIMESTAMP}, | 76 | #{trailerLicenseNo,jdbcType=VARCHAR}, #{masterList,jdbcType=VARCHAR}, #{prodectTime,jdbcType=TIMESTAMP}, |
| 66 | #{returnmessage,jdbcType=VARCHAR}, #{agentno,jdbcType=VARCHAR}, #{agentname,jdbcType=VARCHAR}, | 77 | #{returnmessage,jdbcType=VARCHAR}, #{agentno,jdbcType=VARCHAR}, #{agentname,jdbcType=VARCHAR}, |
| 67 | #{cocode,jdbcType=VARCHAR}, #{drivername,jdbcType=VARCHAR}, #{driverid,jdbcType=VARCHAR}, | 78 | #{cocode,jdbcType=VARCHAR}, #{drivername,jdbcType=VARCHAR}, #{driverid,jdbcType=VARCHAR}, |
| 68 | #{startport,jdbcType=VARCHAR}, #{endport,jdbcType=VARCHAR}, #{startsatation,jdbcType=VARCHAR}, | 79 | #{startport,jdbcType=VARCHAR}, #{endport,jdbcType=VARCHAR}, #{startsatation,jdbcType=VARCHAR}, |
| 69 | #{endstation,jdbcType=VARCHAR}, #{aisle,jdbcType=VARCHAR}, #{businesstype,jdbcType=VARCHAR}, | 80 | #{endstation,jdbcType=VARCHAR}, #{aisle,jdbcType=VARCHAR}, #{businesstype,jdbcType=VARCHAR}, |
| 70 | - #{turnoverflag,jdbcType=VARCHAR}, #{contrastflag,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, | ||
| 71 | - #{createDate,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateDate,jdbcType=TIMESTAMP} | ||
| 72 | - ) | 81 | + #{turnoverflag,jdbcType=VARCHAR}, #{barcode,jdbcType=VARCHAR}, #{contrastflag,jdbcType=VARCHAR}, |
| 82 | + #{createBy,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, | ||
| 83 | + #{updateDate,jdbcType=TIMESTAMP}) | ||
| 73 | </insert> | 84 | </insert> |
| 74 | <insert id="insertSelective" parameterType="com.sy.model.LandBusinessTypeList"> | 85 | <insert id="insertSelective" parameterType="com.sy.model.LandBusinessTypeList"> |
| 75 | insert into land_businesstype_list | 86 | insert into land_businesstype_list |
| @@ -131,6 +142,9 @@ | @@ -131,6 +142,9 @@ | ||
| 131 | <if test="turnoverflag != null"> | 142 | <if test="turnoverflag != null"> |
| 132 | TURNOVERFLAG, | 143 | TURNOVERFLAG, |
| 133 | </if> | 144 | </if> |
| 145 | + <if test="barcode != null"> | ||
| 146 | + BARCODE, | ||
| 147 | + </if> | ||
| 134 | <if test="contrastflag != null"> | 148 | <if test="contrastflag != null"> |
| 135 | CONTRASTFLAG, | 149 | CONTRASTFLAG, |
| 136 | </if> | 150 | </if> |
| @@ -205,6 +219,9 @@ | @@ -205,6 +219,9 @@ | ||
| 205 | <if test="turnoverflag != null"> | 219 | <if test="turnoverflag != null"> |
| 206 | #{turnoverflag,jdbcType=VARCHAR}, | 220 | #{turnoverflag,jdbcType=VARCHAR}, |
| 207 | </if> | 221 | </if> |
| 222 | + <if test="barcode != null"> | ||
| 223 | + #{barcode,jdbcType=VARCHAR}, | ||
| 224 | + </if> | ||
| 208 | <if test="contrastflag != null"> | 225 | <if test="contrastflag != null"> |
| 209 | #{contrastflag,jdbcType=VARCHAR}, | 226 | #{contrastflag,jdbcType=VARCHAR}, |
| 210 | </if> | 227 | </if> |
| @@ -279,6 +296,9 @@ | @@ -279,6 +296,9 @@ | ||
| 279 | <if test="turnoverflag != null"> | 296 | <if test="turnoverflag != null"> |
| 280 | TURNOVERFLAG = #{turnoverflag,jdbcType=VARCHAR}, | 297 | TURNOVERFLAG = #{turnoverflag,jdbcType=VARCHAR}, |
| 281 | </if> | 298 | </if> |
| 299 | + <if test="barcode != null"> | ||
| 300 | + BARCODE = #{barcode,jdbcType=VARCHAR}, | ||
| 301 | + </if> | ||
| 282 | <if test="contrastflag != null"> | 302 | <if test="contrastflag != null"> |
| 283 | CONTRASTFLAG = #{contrastflag,jdbcType=VARCHAR}, | 303 | CONTRASTFLAG = #{contrastflag,jdbcType=VARCHAR}, |
| 284 | </if> | 304 | </if> |
| @@ -317,6 +337,7 @@ | @@ -317,6 +337,7 @@ | ||
| 317 | AISLE = #{aisle,jdbcType=VARCHAR}, | 337 | AISLE = #{aisle,jdbcType=VARCHAR}, |
| 318 | BUSINESSTYPE = #{businesstype,jdbcType=VARCHAR}, | 338 | BUSINESSTYPE = #{businesstype,jdbcType=VARCHAR}, |
| 319 | TURNOVERFLAG = #{turnoverflag,jdbcType=VARCHAR}, | 339 | TURNOVERFLAG = #{turnoverflag,jdbcType=VARCHAR}, |
| 340 | + BARCODE = #{barcode,jdbcType=VARCHAR}, | ||
| 320 | CONTRASTFLAG = #{contrastflag,jdbcType=VARCHAR}, | 341 | CONTRASTFLAG = #{contrastflag,jdbcType=VARCHAR}, |
| 321 | CREATE_BY = #{createBy,jdbcType=VARCHAR}, | 342 | CREATE_BY = #{createBy,jdbcType=VARCHAR}, |
| 322 | CREATE_DATE = #{createDate,jdbcType=TIMESTAMP}, | 343 | CREATE_DATE = #{createDate,jdbcType=TIMESTAMP}, |
-
请 注册 或 登录 后发表评论