diff --git a/erp-hyc-interfaces-api/pom.xml b/erp-hyc-interfaces-api/pom.xml index 14030a8c5e07d61661c74bf3dcad9d6a437de683..68b1279e9d5f4c488aa1d04d0007378724107c48 100644 --- a/erp-hyc-interfaces-api/pom.xml +++ b/erp-hyc-interfaces-api/pom.xml @@ -68,10 +68,6 @@ eu.bitwalker UserAgentUtils - - log4j - log4j - javax.validation validation-api @@ -80,6 +76,10 @@ org.slf4j slf4j-api + + org.slf4j + jcl-over-slf4j + junit junit @@ -95,6 +95,41 @@ quartz 2.3.0 + + ch.qos.logback + logback-classic + + + org.springframework.security + spring-security-web + + + org.springframework + spring-web + + + + + org.springframework.security + spring-security-config + + + org.springframework.security + spring-security-config + ${spring-security.version} + + + com.fasterxml.jackson.core + jackson-annotations + + + com.fasterxml.jackson.core + jackson-databind + + + com.fasterxml.jackson.core + jackson-core + erp-hyc-interfaces-api diff --git a/erp-hyc-interfaces-api/src/main/java/com/unlcn/erp/hyc/interfaces/api/controller/CallWayBillByHYCController.java b/erp-hyc-interfaces-api/src/main/java/com/unlcn/erp/hyc/interfaces/api/controller/CallWayBillByHYCController.java index 1aab1c84226c78829f69cd2a3a284443b9d5ebad..bb444d09e4bf60e012beeff570e716b2cfe9c3f9 100644 --- a/erp-hyc-interfaces-api/src/main/java/com/unlcn/erp/hyc/interfaces/api/controller/CallWayBillByHYCController.java +++ b/erp-hyc-interfaces-api/src/main/java/com/unlcn/erp/hyc/interfaces/api/controller/CallWayBillByHYCController.java @@ -83,7 +83,7 @@ public class CallWayBillByHYCController { @RequestMapping(value = "/doSaveWaybill",method = RequestMethod.POST) @ResponseBody public ResultDTO doSaveWaybill(String waybill){ - LOGGER.info("CallOrderByHYCController.doSaveWaybill param:{}."); + LOGGER.info("CallOrderByHYCController.doSaveWaybill param:{}."+waybill); ResultDTO result = new ResultDTO(true, null, "运单保存成功"); try{ callWayBillByHYCService.saveWayBillDetails(waybill); @@ -154,4 +154,13 @@ public class CallWayBillByHYCController { } return result; } + + + + @RequestMapping(value = "/aa", method = RequestMethod.POST) + @ResponseBody + public String aa(String aa){ + LOGGER.info("CallOrderByHYCController.saveWayBillByHYC param:{}."); + return "Ok"; + } } diff --git a/erp-hyc-interfaces-api/src/main/resources/spring/applicationContext-sehedule.xml b/erp-hyc-interfaces-api/src/main/resources/spring/applicationContext-sehedule.xml index 706f0cb43ef899c639e0e17d6222b1487d61b9d8..0b5e3093bf9a9b74e9d8e6055e062e01702e2540 100644 --- a/erp-hyc-interfaces-api/src/main/resources/spring/applicationContext-sehedule.xml +++ b/erp-hyc-interfaces-api/src/main/resources/spring/applicationContext-sehedule.xml @@ -28,8 +28,8 @@ - - + + @@ -41,8 +41,8 @@ - - + + diff --git a/erp-hyc-interfaces-backend/pom.xml b/erp-hyc-interfaces-backend/pom.xml index 17ab3fe5c884f946307b72dae588e6c4fea712a9..f476639064035cd24b2b9580957b800221bf2407 100644 --- a/erp-hyc-interfaces-backend/pom.xml +++ b/erp-hyc-interfaces-backend/pom.xml @@ -80,7 +80,6 @@ ojdbc6 11.2.0.3 - com.oracle orai18n @@ -91,6 +90,22 @@ joda-time 2.9.9 + + org.apache.commons + commons-lang3 + + + com.google.guava + guava + + + org.springframework + spring-web + + + org.springframework + spring-jdbc + diff --git a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/BackHYCOrderServiceImpl.java b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/BackHYCOrderServiceImpl.java index e11b1d0d9a285210bc7430eea4d492f8f71ba275..29e96839452b3de7f0a397d058149d15ae79a954 100644 --- a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/BackHYCOrderServiceImpl.java +++ b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/BackHYCOrderServiceImpl.java @@ -1,7 +1,6 @@ package com.unlcn.erp.hyc.interfaces.backend.service; import cn.huiyunche.commons.exception.BusinessException; -import com.alibaba.dubbo.common.utils.CollectionUtils; import com.unlcn.erp.hyc.interfaces.backend.enums.TransitStatusEnum; import com.unlcn.erp.hyc.interfaces.base.mapper.HycbackMapper; import com.unlcn.erp.hyc.interfaces.base.mapper.HycwaybilldetailMapper; @@ -10,6 +9,7 @@ import com.unlcn.erp.hyc.interfaces.base.mapper.SoshiplineMapper; import com.unlcn.erp.hyc.interfaces.base.model.Hycback; import com.unlcn.erp.hyc.interfaces.base.model.Hycwaybilldetail; import com.unlcn.erp.hyc.interfaces.base.model.Soorder; +import org.apache.commons.collections.CollectionUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; diff --git a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallOrderByHYCServiceImpl.java b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallOrderByHYCServiceImpl.java index f91177a5a5d7b812af04ad89c66ec6e6bf1d5f95..22f1aecd1f448b55f8ee63534f47a0f2b5f56bb1 100644 --- a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallOrderByHYCServiceImpl.java +++ b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallOrderByHYCServiceImpl.java @@ -1,6 +1,5 @@ package com.unlcn.erp.hyc.interfaces.backend.service; -import com.alibaba.dubbo.common.utils.CollectionUtils; import com.alibaba.fastjson.JSONObject; import com.unlcn.erp.hyc.interfaces.backend.bo.HYCOrderDB; import com.unlcn.erp.hyc.interfaces.backend.bo.OrderCodesDB; @@ -10,6 +9,7 @@ import com.unlcn.erp.hyc.interfaces.base.mapper.HycbackMapper; import com.unlcn.erp.hyc.interfaces.base.mapper.HycorderMapper; import com.unlcn.erp.hyc.interfaces.base.mapper.SoorderMapper; import com.unlcn.erp.hyc.interfaces.base.model.*; +import org.apache.commons.collections.CollectionUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeanUtils; diff --git a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallPayCodesServiceImpl.java b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallPayCodesServiceImpl.java index 2eec34a33fef22e0cdb51bd085d961dc4e83dce1..dc8e7a6871125d9b1cf464b7f93d1c45b9db99d3 100644 --- a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallPayCodesServiceImpl.java +++ b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallPayCodesServiceImpl.java @@ -1,6 +1,6 @@ package com.unlcn.erp.hyc.interfaces.backend.service; -import com.alibaba.dubbo.common.utils.CollectionUtils; + import com.alibaba.fastjson.JSONObject; import com.unlcn.erp.hyc.interfaces.backend.bo.PayBillDetail; import com.unlcn.erp.hyc.interfaces.backend.bo.PayBillMain; @@ -8,6 +8,7 @@ import com.unlcn.erp.hyc.interfaces.backend.bo.PayCodesDB; import com.unlcn.erp.hyc.interfaces.backend.enums.CallHYCUrlTypeEnum; import com.unlcn.erp.hyc.interfaces.base.mapper.*; import com.unlcn.erp.hyc.interfaces.base.model.*; +import org.apache.commons.collections.CollectionUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeanUtils; diff --git a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallReceivableCodesServiceImpl.java b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallReceivableCodesServiceImpl.java index a13c51baa21ebb1a3ea567dcae526e6f2750c872..68ee3aaedc60b57612403dbe134129a10334525a 100644 --- a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallReceivableCodesServiceImpl.java +++ b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallReceivableCodesServiceImpl.java @@ -1,6 +1,5 @@ package com.unlcn.erp.hyc.interfaces.backend.service; -import com.alibaba.dubbo.common.utils.CollectionUtils; import com.alibaba.fastjson.JSONObject; import com.unlcn.erp.hyc.interfaces.backend.bo.ReceivableBillDetail; import com.unlcn.erp.hyc.interfaces.backend.bo.ReceivableBillMain; @@ -8,6 +7,7 @@ import com.unlcn.erp.hyc.interfaces.backend.bo.ReceivableCodesDB; import com.unlcn.erp.hyc.interfaces.backend.enums.CallHYCUrlTypeEnum; import com.unlcn.erp.hyc.interfaces.base.mapper.*; import com.unlcn.erp.hyc.interfaces.base.model.*; +import org.apache.commons.collections.CollectionUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeanUtils; diff --git a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallWayBillByHYCServiceImpl.java b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallWayBillByHYCServiceImpl.java index c1fa1e9b17667e816f805b78db87d57f6aa20851..6d72af45b767a7123b2a19915be1376ef12415da 100644 --- a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallWayBillByHYCServiceImpl.java +++ b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CallWayBillByHYCServiceImpl.java @@ -1,7 +1,5 @@ package com.unlcn.erp.hyc.interfaces.backend.service; -import com.alibaba.dubbo.common.utils.CollectionUtils; -import com.alibaba.dubbo.common.utils.StringUtils; import com.alibaba.fastjson.JSONObject; import com.google.common.collect.Maps; import com.unlcn.erp.hyc.interfaces.backend.bo.HYCWayBillDB; @@ -10,6 +8,9 @@ import com.unlcn.erp.hyc.interfaces.backend.bo.OrderCodesDB; import com.unlcn.erp.hyc.interfaces.backend.enums.CallHYCUrlTypeEnum; import com.unlcn.erp.hyc.interfaces.base.mapper.*; import com.unlcn.erp.hyc.interfaces.base.model.*; +import org.apache.commons.collections.CollectionUtils; + +import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeanUtils; @@ -17,6 +18,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.math.BigDecimal; +import java.text.SimpleDateFormat; import java.util.*; /** @@ -24,11 +26,13 @@ import java.util.*; * Created by zhiche024 on 2017/9/6. */ @Service -public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ - +public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService { + private static final String TEMP_CONTRACT_CHECK_PASS_RESULT = "3"; + private static final String CHECK_MEMO = "慧运车接口直接审核通过"; + private static final String USER = "hrc"; private static final Logger LOGGER = LoggerFactory.getLogger(CallWayBillByHYCServiceImpl.class); - private static final String WAYBILL = "WAYBILL" ,GETWAYBILLDETAIL = "GETWAYBILLDETAIL"; + private static final String WAYBILL = "WAYBILL", GETWAYBILLDETAIL = "GETWAYBILLDETAIL"; @Autowired private CallHYCUrlReceiveService callHYCUrlReceiveService; @Autowired @@ -55,16 +59,28 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ private HycwaybilllistMapper hycwaybilllistMapper; @Autowired private HycorderMapper hycorderMapper; + @Autowired + private SmstyleMapper smstyleMapper; + @Autowired + private SmcustomerMapper SmcustomerMapper; + @Autowired + private TPriceSheetMapper tPriceSheetMapper; + @Autowired + private TPriceDetailMapper tPriceDetailMapper; + @Autowired + private SmtempcontractlistMapper smtempcontractlistMapper; + @Autowired + private TmtempcontractpassMapper tmtempcontractpassMapper; @Override - public void getWayBillCodes() throws Exception{ + public void getWayBillCodes() throws Exception { //调用接口获取运单号列表; String data = callHYCUrlReceiveService.callHYCUrlReceive(WAYBILL, null); //将接口返回的数据进行拆分; - List OrderCodes = JSONObject.parseArray(data,OrderCodesDB.class); - if(CollectionUtils.isNotEmpty(OrderCodes)){ - for(int i = 0; i < OrderCodes.size() ; i++ ){ + List OrderCodes = JSONObject.parseArray(data, OrderCodesDB.class); + if (CollectionUtils.isNotEmpty(OrderCodes)) { + for (int i = 0; i < OrderCodes.size(); i++) { OrderCodesDB wayBillCode = OrderCodes.get(i); //获取订单的详细信息 this.saveWayBillDetails(wayBillCode.getCode()); @@ -74,165 +90,168 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ /** * 保存运单 + * * @param wayBillDetail * @throws Exception */ - public void saveWayBillDetails(String wayBillDetail) throws Exception{ + public void saveWayBillDetails(String wayBillDetail) throws Exception { HYCWayBillDB db = null; - try{ + try { //根据订单号获取订单详细信息 - String data = callHYCUrlReceiveService.callHYCUrlReceive(GETWAYBILLDETAIL,wayBillDetail); + String data = callHYCUrlReceiveService.callHYCUrlReceive(GETWAYBILLDETAIL, wayBillDetail); db = JSONObject.parseObject(data, HYCWayBillDB.class); //将运单信息存入到中间表中 this.saveWayBillByHYC(db); - LOGGER.info(wayBillDetail+"该运单的保存成功!"); - }catch (Exception e){ + LOGGER.info(wayBillDetail + "该运单的保存成功!"); + } catch (Exception e) { HycExceptionMsg msg = new HycExceptionMsg(); msg.setExceptionMsg(e.toString()); msg.setExceptionData(wayBillDetail); msg.setExceptionType(CallHYCUrlTypeEnum.HYC_WAYBILLDETAILS.getValue()); hycExceptionMsgMapper.saveMsgByHYC(msg); - LOGGER.error("运单保存出错:"+wayBillDetail+"异常信息:"+e.toString()); + LOGGER.error("运单保存出错:" + wayBillDetail + "异常信息:" + e.toString()); throw e; } } //将数据存入到运单表中 - public void saveWayBillByHYC(HYCWayBillDB db) throws Exception{ + public void saveWayBillByHYC(HYCWayBillDB db) throws Exception { //存入到运单中间表 Hycwaybill hycwaybill = new Hycwaybill(); - BeanUtils.copyProperties(db,hycwaybill); + BeanUtils.copyProperties(db, hycwaybill); //判断是否存在,如果不存在则添加 HycwaybillExample example = new HycwaybillExample(); example.createCriteria().andWaybillcodeEqualTo(hycwaybill.getWaybillcode()); int intCount = hycwaybillMapper.countByExample(example); - if(intCount <= 0 ){ + if (intCount <= 0) { hycwaybillMapper.insertWayBillByHYC(hycwaybill); - } - else{ - hycwaybillMapper.updateByExampleSelective(hycwaybill,example); + } else { + hycwaybillMapper.updateByExampleSelective(hycwaybill, example); } //判断中间表数据是否存在 - Smcitymap startCity = checkIntermediateService.judgeCityMap(db.getDepartcitycode(),db.getDepartcityname(),db.getWaybillcode()); - Smcitymap endCity = checkIntermediateService.judgeCityMap(db.getReceiptcitycode(),db.getReceiptcityname(),db.getWaybillcode()); + Smcitymap startCity = checkIntermediateService.judgeCityMap(db.getDepartcitycode(), db.getDepartcityname(), db.getWaybillcode()); + Smcitymap endCity = checkIntermediateService.judgeCityMap(db.getReceiptcitycode(), db.getReceiptcityname(), db.getWaybillcode()); //检查分供方数据 - Long shipno = checkIntermediateService.judgeShipMap(String.valueOf(db.getCarrierid()),db.getCarriername()); + Long shipno = checkIntermediateService.judgeShipMap(String.valueOf(db.getCarrierid()), db.getCarriername()); //存入到运单明细中间表 - List wayBillDetailDBs = JSONObject.parseArray(db.getServiceorderlist(),HYCWayBillDetailDB.class); - + List wayBillDetailDBs = JSONObject.parseArray(db.getServiceorderlist(), HYCWayBillDetailDB.class); +// List wayBillDetailDBs =null; //将数据保存到soshiphead中 Boolean isZLShip = false; - if("中联物流自有车队".equals(db.getCarriername()) || db.getCarrierid() == 151){ + if ("中联物流自有车队".equals(db.getCarriername()) || db.getCarrierid() == 151) { isZLShip = true; } - Long soshipheadId = null ; - if(!isZLShip){ - soshipheadId = this.saveWayBillToSoshipHead(db,shipno); + Long soshipheadId = null; + if (!isZLShip) { + //非中联物流自有车队 + soshipheadId = this.saveWayBillToSoshipHead(db, shipno); } //List wayBillDetailDBs = db.getServiceorderlist(); //SOCUSTOMERSHIP 新增客户运单号 // 对该指令的客户运单号进行分类 - Map map = this.getcustshipSize(db,wayBillDetailDBs); + Map map = this.getcustshipSize(db, wayBillDetailDBs); - for(int i = 0; i < wayBillDetailDBs.size(); i++){ + for (int i = 0; i < wayBillDetailDBs.size(); i++) { HYCWayBillDetailDB detailDB = wayBillDetailDBs.get(i); - String vcCustOrderNo= soorderMapper.getVcustomOrderNo(detailDB.getOrdercode()); - if(StringUtils.isEmpty(vcCustOrderNo)){ + String vcCustOrderNo = soorderMapper.getVcustomOrderNo(detailDB.getOrdercode()); + if (StringUtils.isEmpty(vcCustOrderNo)) { vcCustOrderNo = callOrderByHYCService.getCustomerOrderCode(detailDB.getOrdercode()); } Long iCustShipId = map.get(vcCustOrderNo); Hycwaybilldetail hycwaybilldetail = new Hycwaybilldetail(); - BeanUtils.copyProperties(detailDB,hycwaybilldetail); + BeanUtils.copyProperties(detailDB, hycwaybilldetail); //判断车型是否存在中间表 - checkIntermediateService.judgeModersMap(hycwaybilldetail.getVehicleid(),hycwaybilldetail.getVehiclename(),iCustShipId); + checkIntermediateService.judgeModersMap(hycwaybilldetail.getVehicleid(), hycwaybilldetail.getVehiclename(), iCustShipId); HycwaybilldetailExample detailExample = new HycwaybilldetailExample(); detailExample.createCriteria().andWaybilldetailidEqualTo(hycwaybilldetail.getWaybilldetailid()); List listWDetails = hycwaybilldetailMapper.selectByExample(detailExample); //保存运单明细中间表 - if(CollectionUtils.isEmpty(listWDetails)){ + if (CollectionUtils.isEmpty(listWDetails)) { hycwaybilldetailMapper.insertWayBillDetailByHYC(hycwaybilldetail); - } - else{ - hycwaybilldetailMapper.updateByExampleSelective(hycwaybilldetail,detailExample); + } else { + hycwaybilldetailMapper.updateByExampleSelective(hycwaybilldetail, detailExample); } //如果是中联承运 - if(isZLShip){ + if (isZLShip) { //对订单进行拆分 Long iorderId = soorderMapper.getIlineidByOrderNo(hycwaybilldetail.getOrdercode()); - if(iorderId == null || "".equals(iorderId)){ - LOGGER.error("未找到对应的订单"+hycwaybilldetail.getOrdercode()); + if (iorderId == null || "".equals(iorderId)) { + LOGGER.error("未找到对应的订单" + hycwaybilldetail.getOrdercode()); callOrderByHYCService.getOrderDetails(hycwaybilldetail.getOrdercode()); iorderId = soorderMapper.getIlineidByOrderNo(hycwaybilldetail.getOrdercode()); } - this.splitSoorderByShip(db,startCity,endCity,hycwaybilldetail,iorderId); - }else{ + this.splitSoorderByShip(db, startCity, endCity, hycwaybilldetail, iorderId); + } else { //将详细信息保存到soshipline中 - if(soshipheadId == null){ - LOGGER.error("未找到对应的运单主键:"+hycwaybilldetail.getOrdercode()); + if (soshipheadId == null) { + LOGGER.error("未找到对应的运单主键:" + hycwaybilldetail.getOrdercode()); } - this.saveWayBillToSoshipLine(db,startCity,endCity,soshipheadId,hycwaybilldetail,wayBillDetailDBs.size(),iCustShipId); + this.saveWayBillToSoshipLine(db, startCity, endCity, soshipheadId, hycwaybilldetail, wayBillDetailDBs.size(), iCustShipId); + } } } /** - * 得到客户运单号 + * 得到客户运单号 + * * @param db * @param wayBillDetailDBs * @return * @throws Exception */ - private Map getcustshipSize(HYCWayBillDB db,List wayBillDetailDBs) throws Exception{ - Map map = Maps.newHashMap(); - Map returnMap = Maps.newHashMap(); + private Map getcustshipSize(HYCWayBillDB db, List wayBillDetailDBs) throws Exception { + Map map = Maps.newHashMap(); + Map returnMap = Maps.newHashMap(); List list = new ArrayList<>(); - for(HYCWayBillDetailDB detaildb: wayBillDetailDBs){ - String vcCustOrderNo= soorderMapper.getVcustomOrderNo(detaildb.getOrdercode()); - if(StringUtils.isEmpty(vcCustOrderNo)){ + for (HYCWayBillDetailDB detaildb : wayBillDetailDBs) { + String vcCustOrderNo = soorderMapper.getVcustomOrderNo(detaildb.getOrdercode()); + if (StringUtils.isEmpty(vcCustOrderNo)) { vcCustOrderNo = callOrderByHYCService.getCustomerOrderCode(detaildb.getOrdercode()); } //如果不存在 - if(!map.containsKey(vcCustOrderNo)){ + if (!map.containsKey(vcCustOrderNo)) { HycorderExample example = new HycorderExample(); example.createCriteria().andCustomerordercodeEqualTo(vcCustOrderNo); - int intCount =hycorderMapper.countByExample(example); - map.put(vcCustOrderNo,intCount); + int intCount = hycorderMapper.countByExample(example); + map.put(vcCustOrderNo, intCount); list.add(vcCustOrderNo); } } - for(int i = 0; i < list.size(); i++){ - Long iCustShipId = this.saveSoCustomerShip(db,list.get(i),map.get(list.get(i))); - returnMap.put(list.get(i),iCustShipId); + for (int i = 0; i < list.size(); i++) { + Long iCustShipId = this.saveSoCustomerShip(db, list.get(i), map.get(list.get(i))); + returnMap.put(list.get(i), iCustShipId); } return returnMap; } /** * 存储调度指令头信息 + * * @param db * @param shipno * @return * @throws Exception */ - private Long saveWayBillToSoshipHead(HYCWayBillDB db,Long shipno) throws Exception{ + private Long saveWayBillToSoshipHead(HYCWayBillDB db, Long shipno) throws Exception { Soshiphead soshiphead = new Soshiphead(); @@ -243,10 +262,10 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ //获取司机的id Long driverId = checkIntermediateService.judgeDriverMap(db.getCarriername()); //获取车辆的ID - Long vehicleId = checkIntermediateService.judgeVehicleMap(db.getCarnumber(),shipno,driverId); + Long vehicleId = checkIntermediateService.judgeVehicleMap(db.getCarnumber(), shipno, driverId); //如果不存在则添加 - if(CollectionUtils.isEmpty(soshipheads)){ + if (CollectionUtils.isEmpty(soshipheads)) { //获取当前soshiphead主键值 Long ilineid = soshipheadMapper.getShipHeadId(); soshiphead.setIlineid(ilineid); @@ -262,8 +281,7 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ soshiphead.setVcarriveuserno("hyc"); soshiphead.setDtarrive(db.getCreatetime()); soshipheadMapper.saveShipHeadByHYC(soshiphead); - } - else{ + } else { //存在则更新 soshiphead = soshipheads.get(0); soshiphead.setDtdate(db.getCreatetime()); @@ -282,18 +300,18 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ /** * 将运单明细保存到soshipline中 + * * @param db * @param startCity * @param endCity * @param soshipheadId * @return */ - private void saveWayBillToSoshipLine(HYCWayBillDB db,Smcitymap startCity,Smcitymap endCity,Long soshipheadId,Hycwaybilldetail hycwaybilldetail,int size,Long iCustShipId) throws Exception{ - + private void saveWayBillToSoshipLine(HYCWayBillDB db, Smcitymap startCity, Smcitymap endCity, Long soshipheadId, Hycwaybilldetail hycwaybilldetail, int size, Long iCustShipId) throws Exception { //获取得到订单的id Long iorderid2 = soorderMapper.getIlineidByOrderNo(hycwaybilldetail.getOrdercode()); - if(iorderid2 == null || "".equals(iorderid2)){ - LOGGER.error("未找到对应的订单"+hycwaybilldetail.getOrdercode()); + if (iorderid2 == null || "".equals(iorderid2)) { + LOGGER.error("未找到对应的订单" + hycwaybilldetail.getOrdercode()); callOrderByHYCService.getOrderDetails(hycwaybilldetail.getOrdercode()); iorderid2 = soorderMapper.getIlineidByOrderNo(hycwaybilldetail.getOrdercode()); } @@ -302,7 +320,9 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ SoshiplineExample example = new SoshiplineExample(); example.createCriteria().andIshipidEqualTo(soshipheadId).andIorderid2EqualTo(iorderid2); List soshiplines = soshiplineMapper.selectByExample(example); - if(CollectionUtils.isEmpty(soshiplines)){ + + + if (CollectionUtils.isEmpty(soshiplines)) { Long ilineid = soshiplineMapper.getNextValID(); Soshipline soshipline = new Soshipline(); soshipline.setIlineid(ilineid); @@ -311,7 +331,7 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ soshipline.setVcstartcityname(startCity.getVccityname()); soshipline.setIendcityid(endCity.getVccityid()); soshipline.setVcendcityname(endCity.getVccityname()); - soshipline.setDcshipqty((short)1); + soshipline.setDcshipqty((short) 1); soshipline.setIstartcityid2(startCity.getVccityid()); soshipline.setVcstartcityname2(startCity.getVccityname()); soshipline.setIendcityid2(endCity.getVccityid()); @@ -328,34 +348,358 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ soshipline.setIpaycosttype(1); //跟据运单对erp订单进行拆分 - Long iorderid = this.splitSoorderByShip(db,startCity,endCity,hycwaybilldetail,iorderid2); + Long iorderid = this.splitSoorderByShip(db, startCity, endCity, hycwaybilldetail, iorderid2); soshipline.setIorderid(iorderid); soshiplineMapper.saveWayBillDetailByHYC(soshipline); //SOCUSTSGIPORDER 新增客户订单与指令的关系 - this.saveSoCustShipOrder(db,iorderid2,ilineid,iCustShipId); - } - else{ + this.saveSoCustShipOrder(db, iorderid2, ilineid, iCustShipId); + + //创建临时报价单和合同 + LOGGER.info("PKSOTEST:Create refsoshiphead"); + Soshiphead refsoshiphead = soshipheadMapper.selectByPrimaryKey(soshipheadId); + this.createTpriceAndTempContact(refsoshiphead, db); + } else { //如果存在更新价格 Soshipline soshipline = soshiplines.get(0); soshipline.setDcpaycost(hycwaybilldetail.getUnitcost()); - soshiplineMapper.updateByExampleSelective(soshipline,example); + soshiplineMapper.updateByExampleSelective(soshipline, example);///pksoliu smtempcontractlists = smtempcontractlistMapper.selectByExample(smtempcontractlist); + if (smtempcontractlists.size() > 0) { + + Soorder soorder = soorderMapper.selectByPrimaryKey(soshipline.getIorderid()); + String customer = SmcustomerMapper.selectByPrimaryKey(soorder.getIcustomerid()).getVccustomername(); + String istyle = smstyleMapper.selectByPrimaryKey(Short.parseShort(soorder.getIstyleid().toString())).getVcstylename(); + + updateTpriceDetail(soshipline.getDcpaycost(), smtempcontractlists.get(0).getVcPriceNo(), soshipline.getVcstartcityname(), soshipline.getVcendcityname(), customer, istyle); + } else { + createTpriceAndTempContact(soshipheadMapper.selectByPrimaryKey(soshipline.getIshipid()), db); + } + } + + private void updateTpriceDetail(BigDecimal dcpaycost, String VcPriceNo, String startcityname, String endcityname, String customerid, String Istyleid) { + TPriceDetailExample example = new TPriceDetailExample(); + example.createCriteria().andVcStartEqualTo(startcityname).andVcEndEqualTo(endcityname).andVcStyleEqualTo(Istyleid).andVcCustomerEqualTo(customerid).andVcPriceNoEqualTo(VcPriceNo); + List tPriceDetails = tPriceDetailMapper.selectByExample(example); + if (tPriceDetails != null || tPriceDetails.size() > 0) { + TPriceDetail tPriceDetail = tPriceDetails.get(0); + BigDecimal nprice = tPriceDetail.getnPrice(); + tPriceDetail.setnPrice(dcpaycost); + TPriceSheetExample example1 = new TPriceSheetExample(); + example1.createCriteria().andVcPriceNoEqualTo(VcPriceNo); + TPriceSheet tPriceSheet = tPriceSheetMapper.selectByExample(example1).get(0); + tPriceSheet.setnPrice(tPriceSheet.getnPrice() + Integer.parseInt(dcpaycost.subtract(nprice).toString()) * tPriceDetail.getnDqjsty()); + tPriceSheetMapper.updateByExample(tPriceSheet, example1); + } + } + + + private void createTpriceAndTempContact(Soshiphead soshiphead, HYCWayBillDB db) throws Exception { + LOGGER.info("saveSoshipHeadToTpriceSheet"); + Long tpriceSheetId = saveSoshipHeadToTpriceSheet(soshiphead, db); + LOGGER.info("saveTempContact"); + saveTempContact(soshiphead.getIlineid(), tpriceSheetId); + } + + /** + * 創建臨時合同 + * + * @param soshipheadId + * @param priceSheetId + * @throws Exception + */ + private void saveTempContact(Long soshipheadId, Long priceSheetId) throws Exception { + //查詢當前報價單總計的詳明相對的賬單 + List customeresMapByOrdersForPriceSheet = soshiplineMapper.getOrderForISheetId(soshipheadId); + String vcpriceNo = tPriceSheetMapper.selectByPrimaryKey(priceSheetId).getVcPriceNo(); + Soshiphead soshiphead = soshipheadMapper.selectByPrimaryKey(soshipheadId); + Long dccount = soshiphead.getDccount(); //臨時合同賬期 + Long iPayId = (long)0; //臨時合同支付方式 + Long dcothe = soshiphead.getDcother()==null?0:soshiphead.getDcother(); //臨時合同其他費用 + Long dcinsure = soshiphead.getDcinsure()==null?0:soshiphead.getDcinsure(); //臨時合同代付保險 + Long dcreother = soshiphead.getDcreother()==null?0:soshiphead.getDcreother(); //臨時合同代付其他 + Short dcrepay = soshiphead.getDcrepay()==null?0:soshiphead.getDcrepay(); //臨時合同預付 + String vcchecktempuserno = "hyc"; //審核人 + Short bprint = soshiphead.getBprint()==null?0:soshiphead.getBprint(); //是否打印 + Date dtprint = soshiphead.getDtprint()==null?new Date():soshiphead.getDtprint(); // 打印時間 + String vcprintuserno = soshiphead.getVcprintuserno(); // 打印人 + Date dtcheckDate = new Date(); //審核時間 + + for (Soorder order : + customeresMapByOrdersForPriceSheet) {//order.getIstyleid() + saveTempContactConntrllorMapper(soshipheadId, vcpriceNo, order.getIcustomerid(), + dccount, iPayId, dccount, dcinsure, dcreother, dcrepay, vcchecktempuserno, bprint, dtprint, vcprintuserno, dtcheckDate); + addTempContractCheckRecord(soshipheadId); + } + } + + /** + * 創建臨時合同信息列 + * + * @param soshipheadId + * @param customereId + * @param dccount + * @param iPayId + * @param dcother + * @param dcinsure + * @param dcreother + * @param dcrepay + * @param vcchecktempuserno + * @param bprint + * @param dtprint + * @param vcprintuserno + * + * @param dtcheckDate + * @throws Exception + * @returna + */ + // @param istyleid + // Long istyleid, + private Long saveTempContactConntrllorMapper(Long soshipheadId, String vcpriceNo, Long customereId, Long dccount, Long iPayId, Long dcother, Long dcinsure, Long dcreother, Short dcrepay, String vcchecktempuserno, Short bprint, Date dtprint, String vcprintuserno, Date dtcheckDate) throws Exception { + Long ilineid = smtempcontractlistMapper.getNextValID(); + Smtempcontractlist smtempcontractlist = new Smtempcontractlist(); + smtempcontractlist.setIlineid(ilineid); + smtempcontractlist.setIshipid(soshipheadId); + smtempcontractlist.setIcustomerid(customereId); + smtempcontractlist.setDccount(dccount); + smtempcontractlist.setIpayid(iPayId); + smtempcontractlist.setDcother(dcother); + smtempcontractlist.setDcinsure(dcinsure); + smtempcontractlist.setDcrepay(dcrepay); + smtempcontractlist.setVcchecktempuserno(vcchecktempuserno); + smtempcontractlist.setBprint(bprint); + smtempcontractlist.setDtprint(dtprint); + smtempcontractlist.setVcprintuserno(vcprintuserno); +// smtempcontractlist.setIstyleid(Short.parseShort(istyleid.toString())); + smtempcontractlist.setDtcheckdate(dtcheckDate); + smtempcontractlist.setDtdate(new Date()); + smtempcontractlist.setVcPriceNo(vcpriceNo); + smtempcontractlistMapper.insertSelective(smtempcontractlist); + return ilineid; + } + + /** + * 增加临时合同审批记录 + * + * @param shipheadId + * @throws Exception + */ + private void addTempContractCheckRecord(Long shipheadId) throws Exception { + Tmtempcontractpass tmtempcontractpass = new Tmtempcontractpass(); + TmtempcontractpassExample tmtempcontractpassExample=new TmtempcontractpassExample(); + tmtempcontractpassExample.createCriteria().andIlineidEqualTo(tmtempcontractpassMapper.getNextValID()); + tmtempcontractpass.setIshipid(shipheadId); + tmtempcontractpass.setIpass(new BigDecimal(TEMP_CONTRACT_CHECK_PASS_RESULT)); + tmtempcontractpass.setVcmemo(CHECK_MEMO); + tmtempcontractpass.setVcuserno(USER); + tmtempcontractpassMapper.updateByExampleSelective(tmtempcontractpass,tmtempcontractpassExample); + } + + /** + * 生成報價單 + * + * @param soshiphead 调度指令头 + * @param db + * @return + * @throws Exception + */ + private Long saveSoshipHeadToTpriceSheet(Soshiphead soshiphead, HYCWayBillDB db) throws Exception { + Long priceSheetId = tPriceSheetMapper.getNextValID(); + String priceSheetNo = new SimpleDateFormat("yyyyMMddhhmmss").format(new Date()).concat(priceSheetId.toString()); + TPriceSheet tPriceSheet = new TPriceSheet(); + tPriceSheet.setIlineid(priceSheetId); + tPriceSheet.setVcPriceNo(priceSheetNo); + tPriceSheet.setnStatus((short) 0); + tPriceSheet.setnCreateContract((short) 0); + tPriceSheet.setnEnable((short) 1); + tPriceSheet.setiFleetId(soshiphead.getIfleetid()); + tPriceSheet.setVcFleetName(db.getCarriername()); +// 业务确认 +// 选择支付方式 + tPriceSheet.setnPayMethode((short)1);//1.现金 ,2.开票 +// 确认账期 + tPriceSheet.setnPaymentDays((short)3);//5.N+2 ,4.N+1 ,3.N + tPriceSheet.setVcOtherNote("无"); + tPriceSheet.setnOther((double) 0); + tPriceSheet.setnLevel((short) 0); + tPriceSheet.setVcAddUserno("hyc"); + tPriceSheet.setnAdd((short) 0); + tPriceSheet.setDtAdd(new Date()); + tPriceSheet.setVcCreateUserno("hyc"); + tPriceSheet.setDtCreate(new Date()); + tPriceSheet.setVcremark(soshiphead.getVcmemo()); + tPriceSheet.setICountType((short) 0); + tPriceSheet.setBPrint((short) 0); + tPriceSheet.setDtStart(soshiphead.getDtdate()); + tPriceSheet.setDtEnd(soshiphead.getDtdate()); + LOGGER.info("tPriceSheet"+tPriceSheet); + LOGGER.info("tPriceSheet"+tPriceSheet.getIlineid()); + tPriceSheetMapper.insertSheetByICOUNT(tPriceSheet); + this.saveSoshipLineToTPriceDetail(soshiphead.getIlineid(), priceSheetId); + this.autoCheckPriceSheet(priceSheetId); + return tPriceSheet.getIlineid(); + } + + + /** + * 生成報價單詳明 + * + * @param soshipheadId 调度指令头id + * @param priceSheetId 报价单头id + * @throws Exception + */ + private void saveSoshipLineToTPriceDetail(Long soshipheadId, Long priceSheetId) throws Exception { + //獲取生成的調度詳明 + SoshiplineExample example = new SoshiplineExample(); + example.createCriteria().andIshipidEqualTo(soshipheadId); + List soshiplines = soshiplineMapper.selectByExample(example); + List soorders = new ArrayList(); + for (Soshipline soshipline : + soshiplines) { + soorders.add(soorderMapper.selectByPrimaryKey(soshipline.getIorderid())); + } + + + int soshiplinesSize = soshiplines.size(); + //判斷重複條件 + for (int i = 0; i < soshiplinesSize; i++) { + //獲取自己 + Soshipline soshipline = soshiplines.get(i); + int size = 1; + Soorder soorder = soorders.get(i); + //判斷在list中有沒有與自己重複的 + for (int j = i + 1; j < soshiplinesSize; j++) { + //判斷開始地點結束地點與客戶車型是否相同 + if ((soshipline.getVcstartcityname().equals(soshiplines.get(j).getVcstartcityname()) && + soshipline.getVcendcityname().equals(soshiplines.get(j).getVcendcityname()) && + soorder.getIcustomerid().equals(soorders.get(j).getIcustomerid()) && + soorder.getIstyleid().equals(soorders.get(j).getIstyleid()) + )) { + soshiplines.remove(j); + soshiplinesSize--; + size += soshipline.getDcshipqty(); + j--; + } + } + //將該條在list去除重複后將該條添加到報價單的詳明中 + this.saveSoshipLineToTPriceDetail_CreateTPrice(soshiplines.get(i), soorders.get(i), priceSheetId, Short.parseShort(size + "")); } } + /** + * 自动审批并结算 + * + * @param priceSheetId + * @throws Exception + */ + private void autoCheckPriceSheet(Long priceSheetId) throws Exception { + TPriceSheetExample tPriceSheetExample = new TPriceSheetExample(); + TPriceSheet tPriceSheet = new TPriceSheet(); + //审批信息 + tPriceSheetExample.createCriteria().andIlineidEqualTo(priceSheetId); + tPriceSheet.setnStatus((short) 1); + tPriceSheet.setnAdd((short) 1); + tPriceSheet.setDtApprove(new Date()); + tPriceSheet.setVcApprover("0"); + + //结算信息 + TPriceDetailExample example = new TPriceDetailExample(); + example.createCriteria().andIPriceSheetEqualTo(priceSheetId); + List tPriceDetails = tPriceDetailMapper.selectByExample(example); + int price = 0; + int jsPrice = 0; + for (TPriceDetail tPriceDetail : + tPriceDetails) { + price += tPriceDetail.getnStandardPrice() * tPriceDetail.getnDqty(); + jsPrice += Integer.parseInt(tPriceDetail.getnPrice().toString()) * tPriceDetail.getnDqjsty(); + } + tPriceSheet.setnStandardPrice((double)price); + tPriceSheet.setnPrice((double) jsPrice); + tPriceSheet.setnJsstandardPrice((double) price); + tPriceSheetMapper.updateByExampleSelective(tPriceSheet, tPriceSheetExample); + } + +// @Autowired +// private TmmapofshipMapper tmmapofshipMapper; +// /** +// * 记录报价单erp和COMPASS对应关系 +// * +// * @param shipId +// * @param price_sheet_Id +// * @param cnn +// * @throws SQLException +// * @throws Exception +// */ +// private void recordPriceSheetNo2Map(String shipId, +// String price_sheet_Id) throws Exception, +// Exception { +// StringBuilder sb = new StringBuilder() +// .append("update tmmap_of_ship set vcpricesheetno=(select vc_price_no from t_price_sheet where ilineid=") +// .append(price_sheet_Id).append(")") +// .append(" where ishipid_local =").append(shipId); +// write2DB(sb.toString(), cnn); +// } + + /** + * 提供的創建Tprice報價單的創建行 + * 等待列完整性修復 + * + * @param iShipLine 调度指令详情 + * @param soorder 订单 + * @param priceSheetId 报价单头id + * @param size 数量,相同的条数 + */ + private void saveSoshipLineToTPriceDetail_CreateTPrice(Soshipline iShipLine, Soorder soorder, Long priceSheetId, short size) { + if (soorder == null) { + //為空的處理 + soorder = soorderMapper.selectByPrimaryKey(iShipLine.getIorderid()); + } + TPriceDetail tPriceDetail = new TPriceDetail(); //報價單對象 + tPriceDetail.setIlineid(tPriceDetailMapper.getNextValID()); + tPriceDetail.setVcStart(iShipLine.getVcstartcityname());//轉存起始地 + tPriceDetail.setVcEnd(iShipLine.getVcendcityname());//轉存目的地 + tPriceDetail.setVcPriceNo(iShipLine.getIflowid().toString());//編號 + String smStyleName = smstyleMapper.selectByPrimaryKey(Short.parseShort(soorder.getIstyleid().toString())).getVcstylename();//通過外鍵關係獲取車輛名稱 + tPriceDetail.setVcStyle(smStyleName); //轉存車輛名稱 + String smCustomerName = SmcustomerMapper.selectByPrimaryKey(soorder.getIcustomerid()).getVccustomername(); //通過外鍵關係獲取用戶名稱 + tPriceDetail.setVcCustomer(smCustomerName);//轉存用戶名稱 + tPriceDetail.setnStandardPrice((double) 0);//獲取單台價 +// HYCWAYBILLDETAIL的unitcost + tPriceDetail.setnPrice(iShipLine.getDcpaycost()); + tPriceDetail.setnDqty((short)(iShipLine.getDcqty()*size));//装运数量 + tPriceDetail.setDtAdd(new Date());//生成時間 + tPriceDetail.setnKilometer(soorder.getDckilometer());//標準公里數 //獲取訂單的標準公里數 + tPriceDetail.setiPriceSheet(priceSheetId); //報價單主表id + tPriceDetail.setnDqjsty((short)(iShipLine.getDcshipqty()*size)); + //size||iShipLine.getDcqty() + tPriceDetail.setDckilometer(iShipLine.getDcarkilometer()); +// LOGGER.info("shipLineSize:"+size); +// tPriceDetail.setVcshare(size+""); //单数 + tPriceDetailMapper.insertSelective(tPriceDetail); + } + /** * 新增客户订单与指令的关系 + * * @param db * @param iOrderId * @param iShipLineId * @param iCustShipId */ - private void saveSoCustShipOrder(HYCWayBillDB db,Long iOrderId,Long iShipLineId,Long iCustShipId){ + private void saveSoCustShipOrder(HYCWayBillDB db, Long iOrderId, Long iShipLineId, Long iCustShipId) { SocustshiporderExample example = new SocustshiporderExample(); example.createCriteria().andIcustshipidEqualTo(iCustShipId).andIshiplineidEqualTo(iShipLineId); - int intCount= socustshiporderMapper.countByExample(example); - if(intCount <=0 ){ + int intCount = socustshiporderMapper.countByExample(example); + if (intCount <= 0) { Long ilineid = socustshiporderMapper.getCustShipNextId(); Socustshiporder socustshiporder = new Socustshiporder(); socustshiporder.setIlineid(ilineid); @@ -375,10 +719,9 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ example.createCriteria().andIcustshipidEqualTo(iCustShipId); intCount = socustshiporderMapper.countByExample(example); //如果不存在 - if(intCount <=0){ + if (intCount <= 0) { socustshiporder.setIflag(1); - } - else{ + } else { socustshiporder.setIflag(0); } socustshiporderMapper.insertCustShipByHYC(socustshiporder); @@ -387,33 +730,33 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ /** * 新增客户运单号 + * * @param db * @param vccustshipno * @param size */ - private Long saveSoCustomerShip(HYCWayBillDB db,String vccustshipno,Integer size){ + private Long saveSoCustomerShip(HYCWayBillDB db, String vccustshipno, Integer size) { // 根据系统订单号的到客户运单号 SocustomershipExample example = new SocustomershipExample(); example.createCriteria().andVccustshipnoEqualTo(vccustshipno); - List lists = socustomershipMapper.selectByExample(example); - Long ilineid =0l; + List lists = socustomershipMapper.selectByExample(example); + Long ilineid = 0l; - if(CollectionUtils.isEmpty(lists)){ + if (CollectionUtils.isEmpty(lists)) { ilineid = socustomershipMapper.getCustomerNextId(); Socustomership socustomership = new Socustomership(); socustomership.setIlineid(ilineid); socustomership.setVccustshipno(vccustshipno); socustomership.setDtregdate(new Date()); - socustomership.setDcqty((long)size); + socustomership.setDcqty((long) size); socustomership.setDtshipprint(new Date()); socustomership.setVcuserno("system"); socustomership.setVcmemo("慧运车导入"); socustomership.setDtshipreceive(db.getArrivedate()); socustomership.setIflag(0); socustomershipMapper.saveCustomerByHYC(socustomership); - } - else{ + } else { Socustomership socustomership = lists.get(0); ilineid = socustomership.getIlineid(); } @@ -423,6 +766,7 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ /** * 跟据运单对erp订单进行拆分 + * * @param db * @param startCity * @param endCity @@ -431,20 +775,20 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ * @return * @throws Exception */ - private Long splitSoorderByShip(HYCWayBillDB db,Smcitymap startCity, Smcitymap endCity, Hycwaybilldetail hycwaybilldetail,Long iorderId) throws Exception{ + private Long splitSoorderByShip(HYCWayBillDB db, Smcitymap startCity, Smcitymap endCity, Hycwaybilldetail hycwaybilldetail, Long iorderId) throws Exception { //获取订单信息 Soorder soorder = soorderMapper.selectByPrimaryKey(iorderId); //获取拆分的订单编号 //根据运单 - if(hycwaybilldetail.getServicedispatchtimes() == 1){ + if (hycwaybilldetail.getServicedispatchtimes() == 1) { //判断起运城市与终止城市是否与订单的一致 - if(startCity.getVccityname().equals(soorder.getVcstartcity()) && endCity.getVccityname().equals(soorder.getVccityname())){ - if("中联物流自有车队".equals(db.getCarriername()) || db.getCarrierid() == 151){ - soorder.setIsdispatch((short)1); + if (startCity.getVccityname().equals(soorder.getVcstartcity()) && endCity.getVccityname().equals(soorder.getVccityname())) { + if ("中联物流自有车队".equals(db.getCarriername()) || db.getCarrierid() == 151) { + soorder.setIsdispatch((short) 1); soorder.setHycwaybillcode(hycwaybilldetail.getWaybillcode()); - }else{ - soorder.setIsdispatch((short)0); + } else { + soorder.setIsdispatch((short) 0); } soorderMapper.updateDispatchByPrimaryKey(soorder); return iorderId; @@ -454,7 +798,7 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ String vcorderNo = hycwaybilldetail.getServicedispatchtimes() + soorder.getVcorderno(); //判断提车库是否存在 - Long getPointId = checkIntermediateService.judgeGetPointIsExist(soorder.getIcustomerid(),startCity.getVccityname(), db.getDepartprovincename()); + Long getPointId = checkIntermediateService.judgeGetPointIsExist(soorder.getIcustomerid(), startCity.getVccityname(), db.getDepartprovincename()); //获取订单的主键值 Long ilineid = soorderMapper.getNextIlineid(); @@ -462,8 +806,8 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ soorder.setIlineid(ilineid); soorder.setIpid(iorderId); soorder.setIorderid(iorderId); - soorder.setDcjsqty((short)0); - soorder.setIdealerid((short)0); + soorder.setDcjsqty((short) 0); + soorder.setIdealerid((short) 0); soorder.setDtcreatedate(new Date()); soorder.setVcorderno(vcorderNo); soorder.setVcstartcity(db.getDepartcityname()); @@ -476,21 +820,21 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ soorder.setDataresource("来源于慧运车导入"); soorder.setDcshipedqty(Short.valueOf("1")); - if("中联物流自有车队".equals(db.getCarriername()) || db.getCarrierid() == 151){ - soorder.setIsdispatch((short)1); + if ("中联物流自有车队".equals(db.getCarriername()) || db.getCarrierid() == 151) { + soorder.setIsdispatch((short) 1); soorder.setHycwaybillcode(hycwaybilldetail.getWaybillcode()); - }else{ - soorder.setIsdispatch((short)0); + } else { + soorder.setIsdispatch((short) 0); } SoorderExample example = new SoorderExample(); example.createCriteria().andVcordernoEqualTo(vcorderNo); int intCount = soorderMapper.countByExample(example); - if(intCount <= 0){ + if (intCount <= 0) { soorderMapper.saveSoorderByHYC(soorder); return ilineid; - }else{ + } else { soorderMapper.updateSoorderByHYC(soorder); return soorder.getIlineid(); } @@ -499,8 +843,8 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ @Override public void doSaveWaybillList() throws Exception { List hycwaybilllistList = hycwaybilllistMapper.getAll(); - if(CollectionUtils.isNotEmpty(hycwaybilllistList)){ - for(Hycwaybilllist hycwaybilllist : hycwaybilllistList){ + if (CollectionUtils.isNotEmpty(hycwaybilllistList)) { + for (Hycwaybilllist hycwaybilllist : hycwaybilllistList) { String waybillcode = hycwaybilllist.getWaybillcode(); hycwaybillMapper.clearWayBillByCode(waybillcode); @@ -509,7 +853,7 @@ public class CallWayBillByHYCServiceImpl implements CallWayBillByHYCService{ //删除客户运单号 //先取出指令明细 - if(!Objects.isNull(ishipid)) { + if (!Objects.isNull(ishipid)) { SoshiplineExample example = new SoshiplineExample(); example.createCriteria().andIshipidEqualTo(ishipid); List lists = soshiplineMapper.selectByExample(example); diff --git a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CheckIntermediateServiceImpl.java b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CheckIntermediateServiceImpl.java index cb7f14920aed66c2be3153f0fbe51b56aa240ca6..8a9a5f113dafa9f624092111ca90fe0043175858 100644 --- a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CheckIntermediateServiceImpl.java +++ b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/CheckIntermediateServiceImpl.java @@ -1,9 +1,9 @@ package com.unlcn.erp.hyc.interfaces.backend.service; -import com.alibaba.dubbo.common.utils.CollectionUtils; import com.unlcn.erp.hyc.interfaces.backend.enums.ExceptionMsgTypeEnum; import com.unlcn.erp.hyc.interfaces.base.mapper.*; import com.unlcn.erp.hyc.interfaces.base.model.*; +import org.apache.commons.collections.CollectionUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; diff --git a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/ExecptionDisposeServiceImpl.java b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/ExecptionDisposeServiceImpl.java index f8aab27d1f31f4f05fdc50594778aaa8aef30dd7..4eec53582eee8c00e1e92845b8615f8b7f8857f9 100644 --- a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/ExecptionDisposeServiceImpl.java +++ b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/service/ExecptionDisposeServiceImpl.java @@ -1,6 +1,5 @@ package com.unlcn.erp.hyc.interfaces.backend.service; -import com.alibaba.dubbo.common.utils.CollectionUtils; import com.unlcn.erp.hyc.interfaces.backend.enums.CallHYCUrlTypeEnum; import com.unlcn.erp.hyc.interfaces.base.mapper.HycExceptionMsgMapper; import com.unlcn.erp.hyc.interfaces.base.mapper.SoshiplineMapper; @@ -9,6 +8,7 @@ import com.unlcn.erp.hyc.interfaces.base.model.HycExceptionMsg; import com.unlcn.erp.hyc.interfaces.base.model.Soshipline; import com.unlcn.erp.hyc.interfaces.base.model.Soshiplinebackhyc; import com.unlcn.erp.hyc.interfaces.base.model.bo.HycExceptionMsgBo; +import org.apache.commons.collections.CollectionUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; diff --git a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/util/HttpRequestUtil.java b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/util/HttpRequestUtil.java index 33f6b7d1b7485e99db797c978d9f14fd28601b1d..1c8db584badc30538e0c356a951cf370c6154b02 100644 --- a/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/util/HttpRequestUtil.java +++ b/erp-hyc-interfaces-backend/src/main/java/com/unlcn/erp/hyc/interfaces/backend/util/HttpRequestUtil.java @@ -1,8 +1,6 @@ package com.unlcn.erp.hyc.interfaces.backend.util; - import cn.huiyunche.commons.exception.BusinessException; -import org.apache.commons.lang3.StringUtils; import org.apache.http.HttpEntity; import org.apache.http.NameValuePair; import org.apache.http.StatusLine; @@ -17,6 +15,7 @@ import org.apache.http.message.BasicNameValuePair; import org.apache.http.util.EntityUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.springframework.util.StringUtils; import java.io.IOException; import java.util.*; @@ -113,7 +112,7 @@ public class HttpRequestUtil { try { HttpEntity entity = httpResponse.getEntity(); String resultData = entity != null ? EntityUtils.toString(entity) : null; - if (StringUtils.isBlank(resultData)) { + if (StringUtils.isEmpty(resultData)) { LOGGER.info("assemblyRetrunData is null"); throw new BusinessException("调用ERP无返回信息"); } diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/SmtempcontractlistMapper.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/SmtempcontractlistMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..6b0a2be1bed06d870948d75514468e71d0588bc0 --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/SmtempcontractlistMapper.java @@ -0,0 +1,98 @@ +package com.unlcn.erp.hyc.interfaces.base.mapper; + +import com.unlcn.erp.hyc.interfaces.base.model.Smtempcontractlist; +import com.unlcn.erp.hyc.interfaces.base.model.SmtempcontractlistExample; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +public interface SmtempcontractlistMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + int countByExample(SmtempcontractlistExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + int deleteByExample(SmtempcontractlistExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + int deleteByPrimaryKey(Long ilineid); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + int insert(Smtempcontractlist record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + int insertSelective(Smtempcontractlist record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + List selectByExample(SmtempcontractlistExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + Smtempcontractlist selectByPrimaryKey(Long ilineid); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + int updateByExampleSelective(@Param("record") Smtempcontractlist record, @Param("example") SmtempcontractlistExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + int updateByExample(@Param("record") Smtempcontractlist record, @Param("example") SmtempcontractlistExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + int updateByPrimaryKeySelective(Smtempcontractlist record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + int updateByPrimaryKey(Smtempcontractlist record); + Long getNextValID(); +} \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/SoshipheadMapper.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/SoshipheadMapper.java index 958ba07fef47905067155f30c8fbce3c7e124d62..8f60afc1c8a3014d27a6195ce753a30ccf98d33e 100644 --- a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/SoshipheadMapper.java +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/SoshipheadMapper.java @@ -61,7 +61,7 @@ public interface SoshipheadMapper { * * @mbggenerated Fri Sep 08 17:43:26 CST 2017 */ - Soshiphead selectByPrimaryKey(Short ilineid); + Soshiphead selectByPrimaryKey(Long ilineid); /** * This method was generated by MyBatis Generator. diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/SoshiplineMapper.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/SoshiplineMapper.java index 9776005e249f89d4fde3fceb0c88130ae5370eda..81b938ec76f1a5e37b8bee92d06944f57018af44 100644 --- a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/SoshiplineMapper.java +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/SoshiplineMapper.java @@ -1,5 +1,6 @@ package com.unlcn.erp.hyc.interfaces.base.mapper; +import com.unlcn.erp.hyc.interfaces.base.model.Soorder; import com.unlcn.erp.hyc.interfaces.base.model.Soshipline; import com.unlcn.erp.hyc.interfaces.base.model.SoshiplineExample; import org.apache.ibatis.annotations.Param; @@ -112,4 +113,5 @@ public interface SoshiplineMapper { int updatePayCostByOrderId(Soshipline record); int updatePaycost(Soshipline soshipline); + List getOrderForISheetId(Long sheetId); } \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/TPriceDetailMapper.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/TPriceDetailMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..3c7354be4d86e4091aaccb4b883999b3153252a1 --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/TPriceDetailMapper.java @@ -0,0 +1,105 @@ +package com.unlcn.erp.hyc.interfaces.base.mapper; + +import com.unlcn.erp.hyc.interfaces.base.model.Soorder; +import com.unlcn.erp.hyc.interfaces.base.model.TPriceDetail; +import com.unlcn.erp.hyc.interfaces.base.model.TPriceDetailExample; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +public interface TPriceDetailMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Tue Jun 12 09:35:17 CST 2018 + */ + int countByExample(TPriceDetailExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Tue Jun 12 09:35:17 CST 2018 + */ + int deleteByExample(TPriceDetailExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Tue Jun 12 09:35:17 CST 2018 + */ + int deleteByPrimaryKey(Long ilineid); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Tue Jun 12 09:35:17 CST 2018 + */ + int insert(TPriceDetail record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Tue Jun 12 09:35:17 CST 2018 + */ + int insertSelective(TPriceDetail record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Tue Jun 12 09:35:17 CST 2018 + */ + List selectByExample(TPriceDetailExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Tue Jun 12 09:35:17 CST 2018 + */ + TPriceDetail selectByPrimaryKey(Long ilineid); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Tue Jun 12 09:35:17 CST 2018 + */ + int updateByExampleSelective(@Param("record") TPriceDetail record, @Param("example") TPriceDetailExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Tue Jun 12 09:35:17 CST 2018 + */ + int updateByExample(@Param("record") TPriceDetail record, @Param("example") TPriceDetailExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Tue Jun 12 09:35:17 CST 2018 + */ + int updateByPrimaryKeySelective(TPriceDetail record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Tue Jun 12 09:35:17 CST 2018 + */ + int updateByPrimaryKey(TPriceDetail record); + + /** + *f + * @return + */ + Long getNextValID(); + +} \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/TPriceSheetMapper.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/TPriceSheetMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..69294c8d9c978063621cb740a857d137465f0b7b --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/TPriceSheetMapper.java @@ -0,0 +1,98 @@ +package com.unlcn.erp.hyc.interfaces.base.mapper; + +import com.unlcn.erp.hyc.interfaces.base.model.TPriceSheet; +import com.unlcn.erp.hyc.interfaces.base.model.TPriceSheetExample; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +public interface TPriceSheetMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Tue Jun 12 09:36:27 CST 2018 + */ + int countByExample(TPriceSheetExample example); + Long getNextValID(); + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Tue Jun 12 09:36:27 CST 2018 + */ + int deleteByExample(TPriceSheetExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Tue Jun 12 09:36:27 CST 2018 + */ + int deleteByPrimaryKey(Long ilineid); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Tue Jun 12 09:36:27 CST 2018 + */ + int insert(TPriceSheet record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Tue Jun 12 09:36:27 CST 2018 + */ + int insertSelective(TPriceSheet record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Tue Jun 12 09:36:27 CST 2018 + */ + List selectByExample(TPriceSheetExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Tue Jun 12 09:36:27 CST 2018 + */ + TPriceSheet selectByPrimaryKey(Long ilineid); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Tue Jun 12 09:36:27 CST 2018 + */ + int updateByExampleSelective(@Param("record") TPriceSheet record, @Param("example") TPriceSheetExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Tue Jun 12 09:36:27 CST 2018 + */ + int updateByExample(@Param("record") TPriceSheet record, @Param("example") TPriceSheetExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Tue Jun 12 09:36:27 CST 2018 + */ + int updateByPrimaryKeySelective(TPriceSheet record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Tue Jun 12 09:36:27 CST 2018 + */ + int updateByPrimaryKey(TPriceSheet record); + int insertSheetByICOUNT(TPriceSheet record); +} \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/TmtempcontractpassMapper.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/TmtempcontractpassMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..48f883de97f91ce828cf78d891fe559a5eef4464 --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/mapper/TmtempcontractpassMapper.java @@ -0,0 +1,98 @@ +package com.unlcn.erp.hyc.interfaces.base.mapper; + +import com.unlcn.erp.hyc.interfaces.base.model.Tmtempcontractpass; +import com.unlcn.erp.hyc.interfaces.base.model.TmtempcontractpassExample; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +public interface TmtempcontractpassMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + int countByExample(TmtempcontractpassExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + int deleteByExample(TmtempcontractpassExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + int deleteByPrimaryKey(Long ilineid); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + int insert(Tmtempcontractpass record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + int insertSelective(Tmtempcontractpass record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + List selectByExample(TmtempcontractpassExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + Tmtempcontractpass selectByPrimaryKey(Long ilineid); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + int updateByExampleSelective(@Param("record") Tmtempcontractpass record, @Param("example") TmtempcontractpassExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + int updateByExample(@Param("record") Tmtempcontractpass record, @Param("example") TmtempcontractpassExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + int updateByPrimaryKeySelective(Tmtempcontractpass record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + int updateByPrimaryKey(Tmtempcontractpass record); + Long getNextValID(); +} \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/Smtempcontractlist.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/Smtempcontractlist.java new file mode 100644 index 0000000000000000000000000000000000000000..322bde443ac25850bcc800b8a91bb0e23902e4d9 --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/Smtempcontractlist.java @@ -0,0 +1,822 @@ +package com.unlcn.erp.hyc.interfaces.base.model; + +import java.io.Serializable; +import java.util.Date; + +public class Smtempcontractlist implements Serializable { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.ILINEID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Long ilineid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.ISHIPID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Long ishipid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.ICUSTOMERID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Long icustomerid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.DCCOUNT + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Long dccount; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.IPAYID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Long ipayid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.DCOTHER + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Long dcother; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.DCINSURE + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Long dcinsure; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.DCREOTHER + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Short dcreother; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.DCREPAY + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Short dcrepay; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.VCCHECKTEMPUSERNO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private String vcchecktempuserno; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.BPRINT + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Short bprint; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.DTPRINT + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Date dtprint; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.VCPRINTUSERNO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private String vcprintuserno; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.ISTYLEID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Short istyleid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.DTCHECKDATE + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Date dtcheckdate; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.BRECHECK + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Short brecheck; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.VCRECHECKUSERNO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private String vcrecheckuserno; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.DTRECHECK + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Date dtrecheck; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.VCUSERNO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private String vcuserno; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.DTDATE + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Date dtdate; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.VC_PRICE_NO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private String vcPriceNo; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.DOIDPAY + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Short doidpay; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.BRESUB + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Short bresub; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column SMTEMPCONTRACTLIST.IYFKFALG + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private Short iyfkfalg; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + private static final long serialVersionUID = 1L; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.ILINEID + * + * @return the value of SMTEMPCONTRACTLIST.ILINEID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Long getIlineid() { + return ilineid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.ILINEID + * + * @param ilineid the value for SMTEMPCONTRACTLIST.ILINEID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setIlineid(Long ilineid) { + this.ilineid = ilineid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.ISHIPID + * + * @return the value of SMTEMPCONTRACTLIST.ISHIPID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Long getIshipid() { + return ishipid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.ISHIPID + * + * @param ishipid the value for SMTEMPCONTRACTLIST.ISHIPID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setIshipid(Long ishipid) { + this.ishipid = ishipid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.ICUSTOMERID + * + * @return the value of SMTEMPCONTRACTLIST.ICUSTOMERID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Long getIcustomerid() { + return icustomerid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.ICUSTOMERID + * + * @param icustomerid the value for SMTEMPCONTRACTLIST.ICUSTOMERID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setIcustomerid(Long icustomerid) { + this.icustomerid = icustomerid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.DCCOUNT + * + * @return the value of SMTEMPCONTRACTLIST.DCCOUNT + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Long getDccount() { + return dccount; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.DCCOUNT + * + * @param dccount the value for SMTEMPCONTRACTLIST.DCCOUNT + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setDccount(Long dccount) { + this.dccount = dccount; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.IPAYID + * + * @return the value of SMTEMPCONTRACTLIST.IPAYID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Long getIpayid() { + return ipayid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.IPAYID + * + * @param ipayid the value for SMTEMPCONTRACTLIST.IPAYID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setIpayid(Long ipayid) { + this.ipayid = ipayid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.DCOTHER + * + * @return the value of SMTEMPCONTRACTLIST.DCOTHER + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Long getDcother() { + return dcother; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.DCOTHER + * + * @param dcother the value for SMTEMPCONTRACTLIST.DCOTHER + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setDcother(Long dcother) { + this.dcother = dcother; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.DCINSURE + * + * @return the value of SMTEMPCONTRACTLIST.DCINSURE + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Long getDcinsure() { + return dcinsure; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.DCINSURE + * + * @param dcinsure the value for SMTEMPCONTRACTLIST.DCINSURE + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setDcinsure(Long dcinsure) { + this.dcinsure = dcinsure; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.DCREOTHER + * + * @return the value of SMTEMPCONTRACTLIST.DCREOTHER + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Short getDcreother() { + return dcreother; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.DCREOTHER + * + * @param dcreother the value for SMTEMPCONTRACTLIST.DCREOTHER + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setDcreother(Short dcreother) { + this.dcreother = dcreother; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.DCREPAY + * + * @return the value of SMTEMPCONTRACTLIST.DCREPAY + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Short getDcrepay() { + return dcrepay; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.DCREPAY + * + * @param dcrepay the value for SMTEMPCONTRACTLIST.DCREPAY + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setDcrepay(Short dcrepay) { + this.dcrepay = dcrepay; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.VCCHECKTEMPUSERNO + * + * @return the value of SMTEMPCONTRACTLIST.VCCHECKTEMPUSERNO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public String getVcchecktempuserno() { + return vcchecktempuserno; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.VCCHECKTEMPUSERNO + * + * @param vcchecktempuserno the value for SMTEMPCONTRACTLIST.VCCHECKTEMPUSERNO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setVcchecktempuserno(String vcchecktempuserno) { + this.vcchecktempuserno = vcchecktempuserno == null ? null : vcchecktempuserno.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.BPRINT + * + * @return the value of SMTEMPCONTRACTLIST.BPRINT + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Short getBprint() { + return bprint; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.BPRINT + * + * @param bprint the value for SMTEMPCONTRACTLIST.BPRINT + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setBprint(Short bprint) { + this.bprint = bprint; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.DTPRINT + * + * @return the value of SMTEMPCONTRACTLIST.DTPRINT + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Date getDtprint() { + return dtprint; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.DTPRINT + * + * @param dtprint the value for SMTEMPCONTRACTLIST.DTPRINT + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setDtprint(Date dtprint) { + this.dtprint = dtprint; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.VCPRINTUSERNO + * + * @return the value of SMTEMPCONTRACTLIST.VCPRINTUSERNO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public String getVcprintuserno() { + return vcprintuserno; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.VCPRINTUSERNO + * + * @param vcprintuserno the value for SMTEMPCONTRACTLIST.VCPRINTUSERNO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setVcprintuserno(String vcprintuserno) { + this.vcprintuserno = vcprintuserno == null ? null : vcprintuserno.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.ISTYLEID + * + * @return the value of SMTEMPCONTRACTLIST.ISTYLEID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Short getIstyleid() { + return istyleid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.ISTYLEID + * + * @param istyleid the value for SMTEMPCONTRACTLIST.ISTYLEID + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setIstyleid(Short istyleid) { + this.istyleid = istyleid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.DTCHECKDATE + * + * @return the value of SMTEMPCONTRACTLIST.DTCHECKDATE + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Date getDtcheckdate() { + return dtcheckdate; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.DTCHECKDATE + * + * @param dtcheckdate the value for SMTEMPCONTRACTLIST.DTCHECKDATE + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setDtcheckdate(Date dtcheckdate) { + this.dtcheckdate = dtcheckdate; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.BRECHECK + * + * @return the value of SMTEMPCONTRACTLIST.BRECHECK + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Short getBrecheck() { + return brecheck; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.BRECHECK + * + * @param brecheck the value for SMTEMPCONTRACTLIST.BRECHECK + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setBrecheck(Short brecheck) { + this.brecheck = brecheck; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.VCRECHECKUSERNO + * + * @return the value of SMTEMPCONTRACTLIST.VCRECHECKUSERNO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public String getVcrecheckuserno() { + return vcrecheckuserno; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.VCRECHECKUSERNO + * + * @param vcrecheckuserno the value for SMTEMPCONTRACTLIST.VCRECHECKUSERNO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setVcrecheckuserno(String vcrecheckuserno) { + this.vcrecheckuserno = vcrecheckuserno == null ? null : vcrecheckuserno.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.DTRECHECK + * + * @return the value of SMTEMPCONTRACTLIST.DTRECHECK + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Date getDtrecheck() { + return dtrecheck; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.DTRECHECK + * + * @param dtrecheck the value for SMTEMPCONTRACTLIST.DTRECHECK + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setDtrecheck(Date dtrecheck) { + this.dtrecheck = dtrecheck; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.VCUSERNO + * + * @return the value of SMTEMPCONTRACTLIST.VCUSERNO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public String getVcuserno() { + return vcuserno; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.VCUSERNO + * + * @param vcuserno the value for SMTEMPCONTRACTLIST.VCUSERNO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setVcuserno(String vcuserno) { + this.vcuserno = vcuserno == null ? null : vcuserno.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.DTDATE + * + * @return the value of SMTEMPCONTRACTLIST.DTDATE + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Date getDtdate() { + return dtdate; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.DTDATE + * + * @param dtdate the value for SMTEMPCONTRACTLIST.DTDATE + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setDtdate(Date dtdate) { + this.dtdate = dtdate; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.VC_PRICE_NO + * + * @return the value of SMTEMPCONTRACTLIST.VC_PRICE_NO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public String getVcPriceNo() { + return vcPriceNo; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.VC_PRICE_NO + * + * @param vcPriceNo the value for SMTEMPCONTRACTLIST.VC_PRICE_NO + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setVcPriceNo(String vcPriceNo) { + this.vcPriceNo = vcPriceNo == null ? null : vcPriceNo.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.DOIDPAY + * + * @return the value of SMTEMPCONTRACTLIST.DOIDPAY + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Short getDoidpay() { + return doidpay; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.DOIDPAY + * + * @param doidpay the value for SMTEMPCONTRACTLIST.DOIDPAY + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setDoidpay(Short doidpay) { + this.doidpay = doidpay; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.BRESUB + * + * @return the value of SMTEMPCONTRACTLIST.BRESUB + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Short getBresub() { + return bresub; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.BRESUB + * + * @param bresub the value for SMTEMPCONTRACTLIST.BRESUB + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setBresub(Short bresub) { + this.bresub = bresub; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column SMTEMPCONTRACTLIST.IYFKFALG + * + * @return the value of SMTEMPCONTRACTLIST.IYFKFALG + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Short getIyfkfalg() { + return iyfkfalg; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SMTEMPCONTRACTLIST.IYFKFALG + * + * @param iyfkfalg the value for SMTEMPCONTRACTLIST.IYFKFALG + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setIyfkfalg(Short iyfkfalg) { + this.iyfkfalg = iyfkfalg; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", ilineid=").append(ilineid); + sb.append(", ishipid=").append(ishipid); + sb.append(", icustomerid=").append(icustomerid); + sb.append(", dccount=").append(dccount); + sb.append(", ipayid=").append(ipayid); + sb.append(", dcother=").append(dcother); + sb.append(", dcinsure=").append(dcinsure); + sb.append(", dcreother=").append(dcreother); + sb.append(", dcrepay=").append(dcrepay); + sb.append(", vcchecktempuserno=").append(vcchecktempuserno); + sb.append(", bprint=").append(bprint); + sb.append(", dtprint=").append(dtprint); + sb.append(", vcprintuserno=").append(vcprintuserno); + sb.append(", istyleid=").append(istyleid); + sb.append(", dtcheckdate=").append(dtcheckdate); + sb.append(", brecheck=").append(brecheck); + sb.append(", vcrecheckuserno=").append(vcrecheckuserno); + sb.append(", dtrecheck=").append(dtrecheck); + sb.append(", vcuserno=").append(vcuserno); + sb.append(", dtdate=").append(dtdate); + sb.append(", vcPriceNo=").append(vcPriceNo); + sb.append(", doidpay=").append(doidpay); + sb.append(", bresub=").append(bresub); + sb.append(", iyfkfalg=").append(iyfkfalg); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/SmtempcontractlistExample.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/SmtempcontractlistExample.java new file mode 100644 index 0000000000000000000000000000000000000000..761bf112d35d4c42dcec75d97117838eb63d8e89 --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/SmtempcontractlistExample.java @@ -0,0 +1,1874 @@ +package com.unlcn.erp.hyc.interfaces.base.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class SmtempcontractlistExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + protected List oredCriteria; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + protected int limitStart = -1; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + protected int limitEnd = -1; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public SmtempcontractlistExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setLimitStart(int limitStart) { + this.limitStart=limitStart; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public int getLimitStart() { + return limitStart; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public void setLimitEnd(int limitEnd) { + this.limitEnd=limitEnd; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public int getLimitEnd() { + return limitEnd; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIlineidIsNull() { + addCriterion("ILINEID is null"); + return (Criteria) this; + } + + public Criteria andIlineidIsNotNull() { + addCriterion("ILINEID is not null"); + return (Criteria) this; + } + + public Criteria andIlineidEqualTo(Long value) { + addCriterion("ILINEID =", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidNotEqualTo(Long value) { + addCriterion("ILINEID <>", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidGreaterThan(Long value) { + addCriterion("ILINEID >", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidGreaterThanOrEqualTo(Long value) { + addCriterion("ILINEID >=", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidLessThan(Long value) { + addCriterion("ILINEID <", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidLessThanOrEqualTo(Long value) { + addCriterion("ILINEID <=", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidIn(List values) { + addCriterion("ILINEID in", values, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidNotIn(List values) { + addCriterion("ILINEID not in", values, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidBetween(Long value1, Long value2) { + addCriterion("ILINEID between", value1, value2, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidNotBetween(Long value1, Long value2) { + addCriterion("ILINEID not between", value1, value2, "ilineid"); + return (Criteria) this; + } + + public Criteria andIshipidIsNull() { + addCriterion("ISHIPID is null"); + return (Criteria) this; + } + + public Criteria andIshipidIsNotNull() { + addCriterion("ISHIPID is not null"); + return (Criteria) this; + } + + public Criteria andIshipidEqualTo(Long value) { + addCriterion("ISHIPID =", value, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidNotEqualTo(Long value) { + addCriterion("ISHIPID <>", value, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidGreaterThan(Long value) { + addCriterion("ISHIPID >", value, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidGreaterThanOrEqualTo(Long value) { + addCriterion("ISHIPID >=", value, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidLessThan(Long value) { + addCriterion("ISHIPID <", value, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidLessThanOrEqualTo(Long value) { + addCriterion("ISHIPID <=", value, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidIn(List values) { + addCriterion("ISHIPID in", values, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidNotIn(List values) { + addCriterion("ISHIPID not in", values, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidBetween(Long value1, Long value2) { + addCriterion("ISHIPID between", value1, value2, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidNotBetween(Long value1, Long value2) { + addCriterion("ISHIPID not between", value1, value2, "ishipid"); + return (Criteria) this; + } + + public Criteria andIcustomeridIsNull() { + addCriterion("ICUSTOMERID is null"); + return (Criteria) this; + } + + public Criteria andIcustomeridIsNotNull() { + addCriterion("ICUSTOMERID is not null"); + return (Criteria) this; + } + + public Criteria andIcustomeridEqualTo(Short value) { + addCriterion("ICUSTOMERID =", value, "icustomerid"); + return (Criteria) this; + } + + public Criteria andIcustomeridNotEqualTo(Short value) { + addCriterion("ICUSTOMERID <>", value, "icustomerid"); + return (Criteria) this; + } + + public Criteria andIcustomeridGreaterThan(Short value) { + addCriterion("ICUSTOMERID >", value, "icustomerid"); + return (Criteria) this; + } + + public Criteria andIcustomeridGreaterThanOrEqualTo(Short value) { + addCriterion("ICUSTOMERID >=", value, "icustomerid"); + return (Criteria) this; + } + + public Criteria andIcustomeridLessThan(Short value) { + addCriterion("ICUSTOMERID <", value, "icustomerid"); + return (Criteria) this; + } + + public Criteria andIcustomeridLessThanOrEqualTo(Short value) { + addCriterion("ICUSTOMERID <=", value, "icustomerid"); + return (Criteria) this; + } + + public Criteria andIcustomeridIn(List values) { + addCriterion("ICUSTOMERID in", values, "icustomerid"); + return (Criteria) this; + } + + public Criteria andIcustomeridNotIn(List values) { + addCriterion("ICUSTOMERID not in", values, "icustomerid"); + return (Criteria) this; + } + + public Criteria andIcustomeridBetween(Short value1, Short value2) { + addCriterion("ICUSTOMERID between", value1, value2, "icustomerid"); + return (Criteria) this; + } + + public Criteria andIcustomeridNotBetween(Short value1, Short value2) { + addCriterion("ICUSTOMERID not between", value1, value2, "icustomerid"); + return (Criteria) this; + } + + public Criteria andDccountIsNull() { + addCriterion("DCCOUNT is null"); + return (Criteria) this; + } + + public Criteria andDccountIsNotNull() { + addCriterion("DCCOUNT is not null"); + return (Criteria) this; + } + + public Criteria andDccountEqualTo(Short value) { + addCriterion("DCCOUNT =", value, "dccount"); + return (Criteria) this; + } + + public Criteria andDccountNotEqualTo(Short value) { + addCriterion("DCCOUNT <>", value, "dccount"); + return (Criteria) this; + } + + public Criteria andDccountGreaterThan(Short value) { + addCriterion("DCCOUNT >", value, "dccount"); + return (Criteria) this; + } + + public Criteria andDccountGreaterThanOrEqualTo(Short value) { + addCriterion("DCCOUNT >=", value, "dccount"); + return (Criteria) this; + } + + public Criteria andDccountLessThan(Short value) { + addCriterion("DCCOUNT <", value, "dccount"); + return (Criteria) this; + } + + public Criteria andDccountLessThanOrEqualTo(Short value) { + addCriterion("DCCOUNT <=", value, "dccount"); + return (Criteria) this; + } + + public Criteria andDccountIn(List values) { + addCriterion("DCCOUNT in", values, "dccount"); + return (Criteria) this; + } + + public Criteria andDccountNotIn(List values) { + addCriterion("DCCOUNT not in", values, "dccount"); + return (Criteria) this; + } + + public Criteria andDccountBetween(Short value1, Short value2) { + addCriterion("DCCOUNT between", value1, value2, "dccount"); + return (Criteria) this; + } + + public Criteria andDccountNotBetween(Short value1, Short value2) { + addCriterion("DCCOUNT not between", value1, value2, "dccount"); + return (Criteria) this; + } + + public Criteria andIpayidIsNull() { + addCriterion("IPAYID is null"); + return (Criteria) this; + } + + public Criteria andIpayidIsNotNull() { + addCriterion("IPAYID is not null"); + return (Criteria) this; + } + + public Criteria andIpayidEqualTo(Short value) { + addCriterion("IPAYID =", value, "ipayid"); + return (Criteria) this; + } + + public Criteria andIpayidNotEqualTo(Short value) { + addCriterion("IPAYID <>", value, "ipayid"); + return (Criteria) this; + } + + public Criteria andIpayidGreaterThan(Short value) { + addCriterion("IPAYID >", value, "ipayid"); + return (Criteria) this; + } + + public Criteria andIpayidGreaterThanOrEqualTo(Short value) { + addCriterion("IPAYID >=", value, "ipayid"); + return (Criteria) this; + } + + public Criteria andIpayidLessThan(Short value) { + addCriterion("IPAYID <", value, "ipayid"); + return (Criteria) this; + } + + public Criteria andIpayidLessThanOrEqualTo(Short value) { + addCriterion("IPAYID <=", value, "ipayid"); + return (Criteria) this; + } + + public Criteria andIpayidIn(List values) { + addCriterion("IPAYID in", values, "ipayid"); + return (Criteria) this; + } + + public Criteria andIpayidNotIn(List values) { + addCriterion("IPAYID not in", values, "ipayid"); + return (Criteria) this; + } + + public Criteria andIpayidBetween(Short value1, Short value2) { + addCriterion("IPAYID between", value1, value2, "ipayid"); + return (Criteria) this; + } + + public Criteria andIpayidNotBetween(Short value1, Short value2) { + addCriterion("IPAYID not between", value1, value2, "ipayid"); + return (Criteria) this; + } + + public Criteria andDcotherIsNull() { + addCriterion("DCOTHER is null"); + return (Criteria) this; + } + + public Criteria andDcotherIsNotNull() { + addCriterion("DCOTHER is not null"); + return (Criteria) this; + } + + public Criteria andDcotherEqualTo(Short value) { + addCriterion("DCOTHER =", value, "dcother"); + return (Criteria) this; + } + + public Criteria andDcotherNotEqualTo(Short value) { + addCriterion("DCOTHER <>", value, "dcother"); + return (Criteria) this; + } + + public Criteria andDcotherGreaterThan(Short value) { + addCriterion("DCOTHER >", value, "dcother"); + return (Criteria) this; + } + + public Criteria andDcotherGreaterThanOrEqualTo(Short value) { + addCriterion("DCOTHER >=", value, "dcother"); + return (Criteria) this; + } + + public Criteria andDcotherLessThan(Short value) { + addCriterion("DCOTHER <", value, "dcother"); + return (Criteria) this; + } + + public Criteria andDcotherLessThanOrEqualTo(Short value) { + addCriterion("DCOTHER <=", value, "dcother"); + return (Criteria) this; + } + + public Criteria andDcotherIn(List values) { + addCriterion("DCOTHER in", values, "dcother"); + return (Criteria) this; + } + + public Criteria andDcotherNotIn(List values) { + addCriterion("DCOTHER not in", values, "dcother"); + return (Criteria) this; + } + + public Criteria andDcotherBetween(Short value1, Short value2) { + addCriterion("DCOTHER between", value1, value2, "dcother"); + return (Criteria) this; + } + + public Criteria andDcotherNotBetween(Short value1, Short value2) { + addCriterion("DCOTHER not between", value1, value2, "dcother"); + return (Criteria) this; + } + + public Criteria andDcinsureIsNull() { + addCriterion("DCINSURE is null"); + return (Criteria) this; + } + + public Criteria andDcinsureIsNotNull() { + addCriterion("DCINSURE is not null"); + return (Criteria) this; + } + + public Criteria andDcinsureEqualTo(Short value) { + addCriterion("DCINSURE =", value, "dcinsure"); + return (Criteria) this; + } + + public Criteria andDcinsureNotEqualTo(Short value) { + addCriterion("DCINSURE <>", value, "dcinsure"); + return (Criteria) this; + } + + public Criteria andDcinsureGreaterThan(Short value) { + addCriterion("DCINSURE >", value, "dcinsure"); + return (Criteria) this; + } + + public Criteria andDcinsureGreaterThanOrEqualTo(Short value) { + addCriterion("DCINSURE >=", value, "dcinsure"); + return (Criteria) this; + } + + public Criteria andDcinsureLessThan(Short value) { + addCriterion("DCINSURE <", value, "dcinsure"); + return (Criteria) this; + } + + public Criteria andDcinsureLessThanOrEqualTo(Short value) { + addCriterion("DCINSURE <=", value, "dcinsure"); + return (Criteria) this; + } + + public Criteria andDcinsureIn(List values) { + addCriterion("DCINSURE in", values, "dcinsure"); + return (Criteria) this; + } + + public Criteria andDcinsureNotIn(List values) { + addCriterion("DCINSURE not in", values, "dcinsure"); + return (Criteria) this; + } + + public Criteria andDcinsureBetween(Short value1, Short value2) { + addCriterion("DCINSURE between", value1, value2, "dcinsure"); + return (Criteria) this; + } + + public Criteria andDcinsureNotBetween(Short value1, Short value2) { + addCriterion("DCINSURE not between", value1, value2, "dcinsure"); + return (Criteria) this; + } + + public Criteria andDcreotherIsNull() { + addCriterion("DCREOTHER is null"); + return (Criteria) this; + } + + public Criteria andDcreotherIsNotNull() { + addCriterion("DCREOTHER is not null"); + return (Criteria) this; + } + + public Criteria andDcreotherEqualTo(Short value) { + addCriterion("DCREOTHER =", value, "dcreother"); + return (Criteria) this; + } + + public Criteria andDcreotherNotEqualTo(Short value) { + addCriterion("DCREOTHER <>", value, "dcreother"); + return (Criteria) this; + } + + public Criteria andDcreotherGreaterThan(Short value) { + addCriterion("DCREOTHER >", value, "dcreother"); + return (Criteria) this; + } + + public Criteria andDcreotherGreaterThanOrEqualTo(Short value) { + addCriterion("DCREOTHER >=", value, "dcreother"); + return (Criteria) this; + } + + public Criteria andDcreotherLessThan(Short value) { + addCriterion("DCREOTHER <", value, "dcreother"); + return (Criteria) this; + } + + public Criteria andDcreotherLessThanOrEqualTo(Short value) { + addCriterion("DCREOTHER <=", value, "dcreother"); + return (Criteria) this; + } + + public Criteria andDcreotherIn(List values) { + addCriterion("DCREOTHER in", values, "dcreother"); + return (Criteria) this; + } + + public Criteria andDcreotherNotIn(List values) { + addCriterion("DCREOTHER not in", values, "dcreother"); + return (Criteria) this; + } + + public Criteria andDcreotherBetween(Short value1, Short value2) { + addCriterion("DCREOTHER between", value1, value2, "dcreother"); + return (Criteria) this; + } + + public Criteria andDcreotherNotBetween(Short value1, Short value2) { + addCriterion("DCREOTHER not between", value1, value2, "dcreother"); + return (Criteria) this; + } + + public Criteria andDcrepayIsNull() { + addCriterion("DCREPAY is null"); + return (Criteria) this; + } + + public Criteria andDcrepayIsNotNull() { + addCriterion("DCREPAY is not null"); + return (Criteria) this; + } + + public Criteria andDcrepayEqualTo(Short value) { + addCriterion("DCREPAY =", value, "dcrepay"); + return (Criteria) this; + } + + public Criteria andDcrepayNotEqualTo(Short value) { + addCriterion("DCREPAY <>", value, "dcrepay"); + return (Criteria) this; + } + + public Criteria andDcrepayGreaterThan(Short value) { + addCriterion("DCREPAY >", value, "dcrepay"); + return (Criteria) this; + } + + public Criteria andDcrepayGreaterThanOrEqualTo(Short value) { + addCriterion("DCREPAY >=", value, "dcrepay"); + return (Criteria) this; + } + + public Criteria andDcrepayLessThan(Short value) { + addCriterion("DCREPAY <", value, "dcrepay"); + return (Criteria) this; + } + + public Criteria andDcrepayLessThanOrEqualTo(Short value) { + addCriterion("DCREPAY <=", value, "dcrepay"); + return (Criteria) this; + } + + public Criteria andDcrepayIn(List values) { + addCriterion("DCREPAY in", values, "dcrepay"); + return (Criteria) this; + } + + public Criteria andDcrepayNotIn(List values) { + addCriterion("DCREPAY not in", values, "dcrepay"); + return (Criteria) this; + } + + public Criteria andDcrepayBetween(Short value1, Short value2) { + addCriterion("DCREPAY between", value1, value2, "dcrepay"); + return (Criteria) this; + } + + public Criteria andDcrepayNotBetween(Short value1, Short value2) { + addCriterion("DCREPAY not between", value1, value2, "dcrepay"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoIsNull() { + addCriterion("VCCHECKTEMPUSERNO is null"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoIsNotNull() { + addCriterion("VCCHECKTEMPUSERNO is not null"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoEqualTo(String value) { + addCriterion("VCCHECKTEMPUSERNO =", value, "vcchecktempuserno"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoNotEqualTo(String value) { + addCriterion("VCCHECKTEMPUSERNO <>", value, "vcchecktempuserno"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoGreaterThan(String value) { + addCriterion("VCCHECKTEMPUSERNO >", value, "vcchecktempuserno"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoGreaterThanOrEqualTo(String value) { + addCriterion("VCCHECKTEMPUSERNO >=", value, "vcchecktempuserno"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoLessThan(String value) { + addCriterion("VCCHECKTEMPUSERNO <", value, "vcchecktempuserno"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoLessThanOrEqualTo(String value) { + addCriterion("VCCHECKTEMPUSERNO <=", value, "vcchecktempuserno"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoLike(String value) { + addCriterion("VCCHECKTEMPUSERNO like", value, "vcchecktempuserno"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoNotLike(String value) { + addCriterion("VCCHECKTEMPUSERNO not like", value, "vcchecktempuserno"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoIn(List values) { + addCriterion("VCCHECKTEMPUSERNO in", values, "vcchecktempuserno"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoNotIn(List values) { + addCriterion("VCCHECKTEMPUSERNO not in", values, "vcchecktempuserno"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoBetween(String value1, String value2) { + addCriterion("VCCHECKTEMPUSERNO between", value1, value2, "vcchecktempuserno"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoNotBetween(String value1, String value2) { + addCriterion("VCCHECKTEMPUSERNO not between", value1, value2, "vcchecktempuserno"); + return (Criteria) this; + } + + public Criteria andBprintIsNull() { + addCriterion("BPRINT is null"); + return (Criteria) this; + } + + public Criteria andBprintIsNotNull() { + addCriterion("BPRINT is not null"); + return (Criteria) this; + } + + public Criteria andBprintEqualTo(Short value) { + addCriterion("BPRINT =", value, "bprint"); + return (Criteria) this; + } + + public Criteria andBprintNotEqualTo(Short value) { + addCriterion("BPRINT <>", value, "bprint"); + return (Criteria) this; + } + + public Criteria andBprintGreaterThan(Short value) { + addCriterion("BPRINT >", value, "bprint"); + return (Criteria) this; + } + + public Criteria andBprintGreaterThanOrEqualTo(Short value) { + addCriterion("BPRINT >=", value, "bprint"); + return (Criteria) this; + } + + public Criteria andBprintLessThan(Short value) { + addCriterion("BPRINT <", value, "bprint"); + return (Criteria) this; + } + + public Criteria andBprintLessThanOrEqualTo(Short value) { + addCriterion("BPRINT <=", value, "bprint"); + return (Criteria) this; + } + + public Criteria andBprintIn(List values) { + addCriterion("BPRINT in", values, "bprint"); + return (Criteria) this; + } + + public Criteria andBprintNotIn(List values) { + addCriterion("BPRINT not in", values, "bprint"); + return (Criteria) this; + } + + public Criteria andBprintBetween(Short value1, Short value2) { + addCriterion("BPRINT between", value1, value2, "bprint"); + return (Criteria) this; + } + + public Criteria andBprintNotBetween(Short value1, Short value2) { + addCriterion("BPRINT not between", value1, value2, "bprint"); + return (Criteria) this; + } + + public Criteria andDtprintIsNull() { + addCriterion("DTPRINT is null"); + return (Criteria) this; + } + + public Criteria andDtprintIsNotNull() { + addCriterion("DTPRINT is not null"); + return (Criteria) this; + } + + public Criteria andDtprintEqualTo(Date value) { + addCriterion("DTPRINT =", value, "dtprint"); + return (Criteria) this; + } + + public Criteria andDtprintNotEqualTo(Date value) { + addCriterion("DTPRINT <>", value, "dtprint"); + return (Criteria) this; + } + + public Criteria andDtprintGreaterThan(Date value) { + addCriterion("DTPRINT >", value, "dtprint"); + return (Criteria) this; + } + + public Criteria andDtprintGreaterThanOrEqualTo(Date value) { + addCriterion("DTPRINT >=", value, "dtprint"); + return (Criteria) this; + } + + public Criteria andDtprintLessThan(Date value) { + addCriterion("DTPRINT <", value, "dtprint"); + return (Criteria) this; + } + + public Criteria andDtprintLessThanOrEqualTo(Date value) { + addCriterion("DTPRINT <=", value, "dtprint"); + return (Criteria) this; + } + + public Criteria andDtprintIn(List values) { + addCriterion("DTPRINT in", values, "dtprint"); + return (Criteria) this; + } + + public Criteria andDtprintNotIn(List values) { + addCriterion("DTPRINT not in", values, "dtprint"); + return (Criteria) this; + } + + public Criteria andDtprintBetween(Date value1, Date value2) { + addCriterion("DTPRINT between", value1, value2, "dtprint"); + return (Criteria) this; + } + + public Criteria andDtprintNotBetween(Date value1, Date value2) { + addCriterion("DTPRINT not between", value1, value2, "dtprint"); + return (Criteria) this; + } + + public Criteria andVcprintusernoIsNull() { + addCriterion("VCPRINTUSERNO is null"); + return (Criteria) this; + } + + public Criteria andVcprintusernoIsNotNull() { + addCriterion("VCPRINTUSERNO is not null"); + return (Criteria) this; + } + + public Criteria andVcprintusernoEqualTo(String value) { + addCriterion("VCPRINTUSERNO =", value, "vcprintuserno"); + return (Criteria) this; + } + + public Criteria andVcprintusernoNotEqualTo(String value) { + addCriterion("VCPRINTUSERNO <>", value, "vcprintuserno"); + return (Criteria) this; + } + + public Criteria andVcprintusernoGreaterThan(String value) { + addCriterion("VCPRINTUSERNO >", value, "vcprintuserno"); + return (Criteria) this; + } + + public Criteria andVcprintusernoGreaterThanOrEqualTo(String value) { + addCriterion("VCPRINTUSERNO >=", value, "vcprintuserno"); + return (Criteria) this; + } + + public Criteria andVcprintusernoLessThan(String value) { + addCriterion("VCPRINTUSERNO <", value, "vcprintuserno"); + return (Criteria) this; + } + + public Criteria andVcprintusernoLessThanOrEqualTo(String value) { + addCriterion("VCPRINTUSERNO <=", value, "vcprintuserno"); + return (Criteria) this; + } + + public Criteria andVcprintusernoLike(String value) { + addCriterion("VCPRINTUSERNO like", value, "vcprintuserno"); + return (Criteria) this; + } + + public Criteria andVcprintusernoNotLike(String value) { + addCriterion("VCPRINTUSERNO not like", value, "vcprintuserno"); + return (Criteria) this; + } + + public Criteria andVcprintusernoIn(List values) { + addCriterion("VCPRINTUSERNO in", values, "vcprintuserno"); + return (Criteria) this; + } + + public Criteria andVcprintusernoNotIn(List values) { + addCriterion("VCPRINTUSERNO not in", values, "vcprintuserno"); + return (Criteria) this; + } + + public Criteria andVcprintusernoBetween(String value1, String value2) { + addCriterion("VCPRINTUSERNO between", value1, value2, "vcprintuserno"); + return (Criteria) this; + } + + public Criteria andVcprintusernoNotBetween(String value1, String value2) { + addCriterion("VCPRINTUSERNO not between", value1, value2, "vcprintuserno"); + return (Criteria) this; + } + + public Criteria andIstyleidIsNull() { + addCriterion("ISTYLEID is null"); + return (Criteria) this; + } + + public Criteria andIstyleidIsNotNull() { + addCriterion("ISTYLEID is not null"); + return (Criteria) this; + } + + public Criteria andIstyleidEqualTo(Short value) { + addCriterion("ISTYLEID =", value, "istyleid"); + return (Criteria) this; + } + + public Criteria andIstyleidNotEqualTo(Short value) { + addCriterion("ISTYLEID <>", value, "istyleid"); + return (Criteria) this; + } + + public Criteria andIstyleidGreaterThan(Short value) { + addCriterion("ISTYLEID >", value, "istyleid"); + return (Criteria) this; + } + + public Criteria andIstyleidGreaterThanOrEqualTo(Short value) { + addCriterion("ISTYLEID >=", value, "istyleid"); + return (Criteria) this; + } + + public Criteria andIstyleidLessThan(Short value) { + addCriterion("ISTYLEID <", value, "istyleid"); + return (Criteria) this; + } + + public Criteria andIstyleidLessThanOrEqualTo(Short value) { + addCriterion("ISTYLEID <=", value, "istyleid"); + return (Criteria) this; + } + + public Criteria andIstyleidIn(List values) { + addCriterion("ISTYLEID in", values, "istyleid"); + return (Criteria) this; + } + + public Criteria andIstyleidNotIn(List values) { + addCriterion("ISTYLEID not in", values, "istyleid"); + return (Criteria) this; + } + + public Criteria andIstyleidBetween(Short value1, Short value2) { + addCriterion("ISTYLEID between", value1, value2, "istyleid"); + return (Criteria) this; + } + + public Criteria andIstyleidNotBetween(Short value1, Short value2) { + addCriterion("ISTYLEID not between", value1, value2, "istyleid"); + return (Criteria) this; + } + + public Criteria andDtcheckdateIsNull() { + addCriterion("DTCHECKDATE is null"); + return (Criteria) this; + } + + public Criteria andDtcheckdateIsNotNull() { + addCriterion("DTCHECKDATE is not null"); + return (Criteria) this; + } + + public Criteria andDtcheckdateEqualTo(Date value) { + addCriterion("DTCHECKDATE =", value, "dtcheckdate"); + return (Criteria) this; + } + + public Criteria andDtcheckdateNotEqualTo(Date value) { + addCriterion("DTCHECKDATE <>", value, "dtcheckdate"); + return (Criteria) this; + } + + public Criteria andDtcheckdateGreaterThan(Date value) { + addCriterion("DTCHECKDATE >", value, "dtcheckdate"); + return (Criteria) this; + } + + public Criteria andDtcheckdateGreaterThanOrEqualTo(Date value) { + addCriterion("DTCHECKDATE >=", value, "dtcheckdate"); + return (Criteria) this; + } + + public Criteria andDtcheckdateLessThan(Date value) { + addCriterion("DTCHECKDATE <", value, "dtcheckdate"); + return (Criteria) this; + } + + public Criteria andDtcheckdateLessThanOrEqualTo(Date value) { + addCriterion("DTCHECKDATE <=", value, "dtcheckdate"); + return (Criteria) this; + } + + public Criteria andDtcheckdateIn(List values) { + addCriterion("DTCHECKDATE in", values, "dtcheckdate"); + return (Criteria) this; + } + + public Criteria andDtcheckdateNotIn(List values) { + addCriterion("DTCHECKDATE not in", values, "dtcheckdate"); + return (Criteria) this; + } + + public Criteria andDtcheckdateBetween(Date value1, Date value2) { + addCriterion("DTCHECKDATE between", value1, value2, "dtcheckdate"); + return (Criteria) this; + } + + public Criteria andDtcheckdateNotBetween(Date value1, Date value2) { + addCriterion("DTCHECKDATE not between", value1, value2, "dtcheckdate"); + return (Criteria) this; + } + + public Criteria andBrecheckIsNull() { + addCriterion("BRECHECK is null"); + return (Criteria) this; + } + + public Criteria andBrecheckIsNotNull() { + addCriterion("BRECHECK is not null"); + return (Criteria) this; + } + + public Criteria andBrecheckEqualTo(Short value) { + addCriterion("BRECHECK =", value, "brecheck"); + return (Criteria) this; + } + + public Criteria andBrecheckNotEqualTo(Short value) { + addCriterion("BRECHECK <>", value, "brecheck"); + return (Criteria) this; + } + + public Criteria andBrecheckGreaterThan(Short value) { + addCriterion("BRECHECK >", value, "brecheck"); + return (Criteria) this; + } + + public Criteria andBrecheckGreaterThanOrEqualTo(Short value) { + addCriterion("BRECHECK >=", value, "brecheck"); + return (Criteria) this; + } + + public Criteria andBrecheckLessThan(Short value) { + addCriterion("BRECHECK <", value, "brecheck"); + return (Criteria) this; + } + + public Criteria andBrecheckLessThanOrEqualTo(Short value) { + addCriterion("BRECHECK <=", value, "brecheck"); + return (Criteria) this; + } + + public Criteria andBrecheckIn(List values) { + addCriterion("BRECHECK in", values, "brecheck"); + return (Criteria) this; + } + + public Criteria andBrecheckNotIn(List values) { + addCriterion("BRECHECK not in", values, "brecheck"); + return (Criteria) this; + } + + public Criteria andBrecheckBetween(Short value1, Short value2) { + addCriterion("BRECHECK between", value1, value2, "brecheck"); + return (Criteria) this; + } + + public Criteria andBrecheckNotBetween(Short value1, Short value2) { + addCriterion("BRECHECK not between", value1, value2, "brecheck"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoIsNull() { + addCriterion("VCRECHECKUSERNO is null"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoIsNotNull() { + addCriterion("VCRECHECKUSERNO is not null"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoEqualTo(String value) { + addCriterion("VCRECHECKUSERNO =", value, "vcrecheckuserno"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoNotEqualTo(String value) { + addCriterion("VCRECHECKUSERNO <>", value, "vcrecheckuserno"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoGreaterThan(String value) { + addCriterion("VCRECHECKUSERNO >", value, "vcrecheckuserno"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoGreaterThanOrEqualTo(String value) { + addCriterion("VCRECHECKUSERNO >=", value, "vcrecheckuserno"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoLessThan(String value) { + addCriterion("VCRECHECKUSERNO <", value, "vcrecheckuserno"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoLessThanOrEqualTo(String value) { + addCriterion("VCRECHECKUSERNO <=", value, "vcrecheckuserno"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoLike(String value) { + addCriterion("VCRECHECKUSERNO like", value, "vcrecheckuserno"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoNotLike(String value) { + addCriterion("VCRECHECKUSERNO not like", value, "vcrecheckuserno"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoIn(List values) { + addCriterion("VCRECHECKUSERNO in", values, "vcrecheckuserno"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoNotIn(List values) { + addCriterion("VCRECHECKUSERNO not in", values, "vcrecheckuserno"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoBetween(String value1, String value2) { + addCriterion("VCRECHECKUSERNO between", value1, value2, "vcrecheckuserno"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoNotBetween(String value1, String value2) { + addCriterion("VCRECHECKUSERNO not between", value1, value2, "vcrecheckuserno"); + return (Criteria) this; + } + + public Criteria andDtrecheckIsNull() { + addCriterion("DTRECHECK is null"); + return (Criteria) this; + } + + public Criteria andDtrecheckIsNotNull() { + addCriterion("DTRECHECK is not null"); + return (Criteria) this; + } + + public Criteria andDtrecheckEqualTo(Date value) { + addCriterion("DTRECHECK =", value, "dtrecheck"); + return (Criteria) this; + } + + public Criteria andDtrecheckNotEqualTo(Date value) { + addCriterion("DTRECHECK <>", value, "dtrecheck"); + return (Criteria) this; + } + + public Criteria andDtrecheckGreaterThan(Date value) { + addCriterion("DTRECHECK >", value, "dtrecheck"); + return (Criteria) this; + } + + public Criteria andDtrecheckGreaterThanOrEqualTo(Date value) { + addCriterion("DTRECHECK >=", value, "dtrecheck"); + return (Criteria) this; + } + + public Criteria andDtrecheckLessThan(Date value) { + addCriterion("DTRECHECK <", value, "dtrecheck"); + return (Criteria) this; + } + + public Criteria andDtrecheckLessThanOrEqualTo(Date value) { + addCriterion("DTRECHECK <=", value, "dtrecheck"); + return (Criteria) this; + } + + public Criteria andDtrecheckIn(List values) { + addCriterion("DTRECHECK in", values, "dtrecheck"); + return (Criteria) this; + } + + public Criteria andDtrecheckNotIn(List values) { + addCriterion("DTRECHECK not in", values, "dtrecheck"); + return (Criteria) this; + } + + public Criteria andDtrecheckBetween(Date value1, Date value2) { + addCriterion("DTRECHECK between", value1, value2, "dtrecheck"); + return (Criteria) this; + } + + public Criteria andDtrecheckNotBetween(Date value1, Date value2) { + addCriterion("DTRECHECK not between", value1, value2, "dtrecheck"); + return (Criteria) this; + } + + public Criteria andVcusernoIsNull() { + addCriterion("VCUSERNO is null"); + return (Criteria) this; + } + + public Criteria andVcusernoIsNotNull() { + addCriterion("VCUSERNO is not null"); + return (Criteria) this; + } + + public Criteria andVcusernoEqualTo(String value) { + addCriterion("VCUSERNO =", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoNotEqualTo(String value) { + addCriterion("VCUSERNO <>", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoGreaterThan(String value) { + addCriterion("VCUSERNO >", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoGreaterThanOrEqualTo(String value) { + addCriterion("VCUSERNO >=", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoLessThan(String value) { + addCriterion("VCUSERNO <", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoLessThanOrEqualTo(String value) { + addCriterion("VCUSERNO <=", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoLike(String value) { + addCriterion("VCUSERNO like", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoNotLike(String value) { + addCriterion("VCUSERNO not like", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoIn(List values) { + addCriterion("VCUSERNO in", values, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoNotIn(List values) { + addCriterion("VCUSERNO not in", values, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoBetween(String value1, String value2) { + addCriterion("VCUSERNO between", value1, value2, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoNotBetween(String value1, String value2) { + addCriterion("VCUSERNO not between", value1, value2, "vcuserno"); + return (Criteria) this; + } + + public Criteria andDtdateIsNull() { + addCriterion("DTDATE is null"); + return (Criteria) this; + } + + public Criteria andDtdateIsNotNull() { + addCriterion("DTDATE is not null"); + return (Criteria) this; + } + + public Criteria andDtdateEqualTo(Date value) { + addCriterion("DTDATE =", value, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateNotEqualTo(Date value) { + addCriterion("DTDATE <>", value, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateGreaterThan(Date value) { + addCriterion("DTDATE >", value, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateGreaterThanOrEqualTo(Date value) { + addCriterion("DTDATE >=", value, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateLessThan(Date value) { + addCriterion("DTDATE <", value, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateLessThanOrEqualTo(Date value) { + addCriterion("DTDATE <=", value, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateIn(List values) { + addCriterion("DTDATE in", values, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateNotIn(List values) { + addCriterion("DTDATE not in", values, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateBetween(Date value1, Date value2) { + addCriterion("DTDATE between", value1, value2, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateNotBetween(Date value1, Date value2) { + addCriterion("DTDATE not between", value1, value2, "dtdate"); + return (Criteria) this; + } + + public Criteria andVcPriceNoIsNull() { + addCriterion("VC_PRICE_NO is null"); + return (Criteria) this; + } + + public Criteria andVcPriceNoIsNotNull() { + addCriterion("VC_PRICE_NO is not null"); + return (Criteria) this; + } + + public Criteria andVcPriceNoEqualTo(String value) { + addCriterion("VC_PRICE_NO =", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoNotEqualTo(String value) { + addCriterion("VC_PRICE_NO <>", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoGreaterThan(String value) { + addCriterion("VC_PRICE_NO >", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoGreaterThanOrEqualTo(String value) { + addCriterion("VC_PRICE_NO >=", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoLessThan(String value) { + addCriterion("VC_PRICE_NO <", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoLessThanOrEqualTo(String value) { + addCriterion("VC_PRICE_NO <=", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoLike(String value) { + addCriterion("VC_PRICE_NO like", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoNotLike(String value) { + addCriterion("VC_PRICE_NO not like", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoIn(List values) { + addCriterion("VC_PRICE_NO in", values, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoNotIn(List values) { + addCriterion("VC_PRICE_NO not in", values, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoBetween(String value1, String value2) { + addCriterion("VC_PRICE_NO between", value1, value2, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoNotBetween(String value1, String value2) { + addCriterion("VC_PRICE_NO not between", value1, value2, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andDoidpayIsNull() { + addCriterion("DOIDPAY is null"); + return (Criteria) this; + } + + public Criteria andDoidpayIsNotNull() { + addCriterion("DOIDPAY is not null"); + return (Criteria) this; + } + + public Criteria andDoidpayEqualTo(Short value) { + addCriterion("DOIDPAY =", value, "doidpay"); + return (Criteria) this; + } + + public Criteria andDoidpayNotEqualTo(Short value) { + addCriterion("DOIDPAY <>", value, "doidpay"); + return (Criteria) this; + } + + public Criteria andDoidpayGreaterThan(Short value) { + addCriterion("DOIDPAY >", value, "doidpay"); + return (Criteria) this; + } + + public Criteria andDoidpayGreaterThanOrEqualTo(Short value) { + addCriterion("DOIDPAY >=", value, "doidpay"); + return (Criteria) this; + } + + public Criteria andDoidpayLessThan(Short value) { + addCriterion("DOIDPAY <", value, "doidpay"); + return (Criteria) this; + } + + public Criteria andDoidpayLessThanOrEqualTo(Short value) { + addCriterion("DOIDPAY <=", value, "doidpay"); + return (Criteria) this; + } + + public Criteria andDoidpayIn(List values) { + addCriterion("DOIDPAY in", values, "doidpay"); + return (Criteria) this; + } + + public Criteria andDoidpayNotIn(List values) { + addCriterion("DOIDPAY not in", values, "doidpay"); + return (Criteria) this; + } + + public Criteria andDoidpayBetween(Short value1, Short value2) { + addCriterion("DOIDPAY between", value1, value2, "doidpay"); + return (Criteria) this; + } + + public Criteria andDoidpayNotBetween(Short value1, Short value2) { + addCriterion("DOIDPAY not between", value1, value2, "doidpay"); + return (Criteria) this; + } + + public Criteria andBresubIsNull() { + addCriterion("BRESUB is null"); + return (Criteria) this; + } + + public Criteria andBresubIsNotNull() { + addCriterion("BRESUB is not null"); + return (Criteria) this; + } + + public Criteria andBresubEqualTo(Short value) { + addCriterion("BRESUB =", value, "bresub"); + return (Criteria) this; + } + + public Criteria andBresubNotEqualTo(Short value) { + addCriterion("BRESUB <>", value, "bresub"); + return (Criteria) this; + } + + public Criteria andBresubGreaterThan(Short value) { + addCriterion("BRESUB >", value, "bresub"); + return (Criteria) this; + } + + public Criteria andBresubGreaterThanOrEqualTo(Short value) { + addCriterion("BRESUB >=", value, "bresub"); + return (Criteria) this; + } + + public Criteria andBresubLessThan(Short value) { + addCriterion("BRESUB <", value, "bresub"); + return (Criteria) this; + } + + public Criteria andBresubLessThanOrEqualTo(Short value) { + addCriterion("BRESUB <=", value, "bresub"); + return (Criteria) this; + } + + public Criteria andBresubIn(List values) { + addCriterion("BRESUB in", values, "bresub"); + return (Criteria) this; + } + + public Criteria andBresubNotIn(List values) { + addCriterion("BRESUB not in", values, "bresub"); + return (Criteria) this; + } + + public Criteria andBresubBetween(Short value1, Short value2) { + addCriterion("BRESUB between", value1, value2, "bresub"); + return (Criteria) this; + } + + public Criteria andBresubNotBetween(Short value1, Short value2) { + addCriterion("BRESUB not between", value1, value2, "bresub"); + return (Criteria) this; + } + + public Criteria andIyfkfalgIsNull() { + addCriterion("IYFKFALG is null"); + return (Criteria) this; + } + + public Criteria andIyfkfalgIsNotNull() { + addCriterion("IYFKFALG is not null"); + return (Criteria) this; + } + + public Criteria andIyfkfalgEqualTo(Short value) { + addCriterion("IYFKFALG =", value, "iyfkfalg"); + return (Criteria) this; + } + + public Criteria andIyfkfalgNotEqualTo(Short value) { + addCriterion("IYFKFALG <>", value, "iyfkfalg"); + return (Criteria) this; + } + + public Criteria andIyfkfalgGreaterThan(Short value) { + addCriterion("IYFKFALG >", value, "iyfkfalg"); + return (Criteria) this; + } + + public Criteria andIyfkfalgGreaterThanOrEqualTo(Short value) { + addCriterion("IYFKFALG >=", value, "iyfkfalg"); + return (Criteria) this; + } + + public Criteria andIyfkfalgLessThan(Short value) { + addCriterion("IYFKFALG <", value, "iyfkfalg"); + return (Criteria) this; + } + + public Criteria andIyfkfalgLessThanOrEqualTo(Short value) { + addCriterion("IYFKFALG <=", value, "iyfkfalg"); + return (Criteria) this; + } + + public Criteria andIyfkfalgIn(List values) { + addCriterion("IYFKFALG in", values, "iyfkfalg"); + return (Criteria) this; + } + + public Criteria andIyfkfalgNotIn(List values) { + addCriterion("IYFKFALG not in", values, "iyfkfalg"); + return (Criteria) this; + } + + public Criteria andIyfkfalgBetween(Short value1, Short value2) { + addCriterion("IYFKFALG between", value1, value2, "iyfkfalg"); + return (Criteria) this; + } + + public Criteria andIyfkfalgNotBetween(Short value1, Short value2) { + addCriterion("IYFKFALG not between", value1, value2, "iyfkfalg"); + return (Criteria) this; + } + + public Criteria andVcchecktempusernoLikeInsensitive(String value) { + addCriterion("upper(VCCHECKTEMPUSERNO) like", value.toUpperCase(), "vcchecktempuserno"); + return (Criteria) this; + } + + public Criteria andVcprintusernoLikeInsensitive(String value) { + addCriterion("upper(VCPRINTUSERNO) like", value.toUpperCase(), "vcprintuserno"); + return (Criteria) this; + } + + public Criteria andVcrecheckusernoLikeInsensitive(String value) { + addCriterion("upper(VCRECHECKUSERNO) like", value.toUpperCase(), "vcrecheckuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoLikeInsensitive(String value) { + addCriterion("upper(VCUSERNO) like", value.toUpperCase(), "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcPriceNoLikeInsensitive(String value) { + addCriterion("upper(VC_PRICE_NO) like", value.toUpperCase(), "vcPriceNo"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated do_not_delete_during_merge Thu Jun 14 09:21:21 CST 2018 + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table SMTEMPCONTRACTLIST + * + * @mbggenerated Thu Jun 14 09:21:21 CST 2018 + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TPriceDetail.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TPriceDetail.java new file mode 100644 index 0000000000000000000000000000000000000000..d958b416faf183e78a9e07d5b878f7e396ecbdec --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TPriceDetail.java @@ -0,0 +1,566 @@ +package com.unlcn.erp.hyc.interfaces.base.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class TPriceDetail implements Serializable { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.ILINEID + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Long ilineid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.VC_START + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcStart; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.VC_END + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcEnd; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.VC_PRICE_NO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcPriceNo; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.VC_STYLE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcStyle; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.VC_CUSTOMER + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcCustomer; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.N_STANDARD_PRICE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Double nStandardPrice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.N_PRICE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private BigDecimal nPrice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.N_DQTY + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Short nDqty; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.DT_ADD + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Date dtAdd; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.N_KILOMETER + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private BigDecimal nKilometer; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.I_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Long iPriceSheet; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.N_RATIO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Long nRatio; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.N_DQJSTY + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Short nDqjsty; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.DCKILOMETER + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Short dckilometer; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.DCPRICE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Double dcprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_DETAIL.VCMAPNAME + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcmapname; + private String vcshare; + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private static final long serialVersionUID = 1L; + + public String getVcshare() { + return this.vcshare; + } + + public void setVcshare(String vcshare) { + this.vcshare = vcshare; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.ILINEID + * + * @return the value of T_PRICE_DETAIL.ILINEID + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Long getIlineid() { + return ilineid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.ILINEID + * + * @param ilineid the value for T_PRICE_DETAIL.ILINEID + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setIlineid(Long ilineid) { + this.ilineid = ilineid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.VC_START + * + * @return the value of T_PRICE_DETAIL.VC_START + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcStart() { + return vcStart; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.VC_START + * + * @param vcStart the value for T_PRICE_DETAIL.VC_START + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcStart(String vcStart) { + this.vcStart = vcStart == null ? null : vcStart.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.VC_END + * + * @return the value of T_PRICE_DETAIL.VC_END + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcEnd() { + return vcEnd; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.VC_END + * + * @param vcEnd the value for T_PRICE_DETAIL.VC_END + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcEnd(String vcEnd) { + this.vcEnd = vcEnd == null ? null : vcEnd.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.VC_PRICE_NO + * + * @return the value of T_PRICE_DETAIL.VC_PRICE_NO + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcPriceNo() { + return vcPriceNo; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.VC_PRICE_NO + * + * @param vcPriceNo the value for T_PRICE_DETAIL.VC_PRICE_NO + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcPriceNo(String vcPriceNo) { + this.vcPriceNo = vcPriceNo == null ? null : vcPriceNo.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.VC_STYLE + * + * @return the value of T_PRICE_DETAIL.VC_STYLE + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcStyle() { + return vcStyle; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.VC_STYLE + * + * @param vcStyle the value for T_PRICE_DETAIL.VC_STYLE + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcStyle(String vcStyle) { + this.vcStyle = vcStyle == null ? null : vcStyle.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.VC_CUSTOMER + * + * @return the value of T_PRICE_DETAIL.VC_CUSTOMER + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcCustomer() { + return vcCustomer; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.VC_CUSTOMER + * + * @param vcCustomer the value for T_PRICE_DETAIL.VC_CUSTOMER + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcCustomer(String vcCustomer) { + this.vcCustomer = vcCustomer == null ? null : vcCustomer.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.N_STANDARD_PRICE + * + * @return the value of T_PRICE_DETAIL.N_STANDARD_PRICE + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Double getnStandardPrice() { + return nStandardPrice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.N_STANDARD_PRICE + * + * @param nStandardPrice the value for T_PRICE_DETAIL.N_STANDARD_PRICE + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnStandardPrice(Double nStandardPrice) { + this.nStandardPrice = nStandardPrice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.N_PRICE + * + * @return the value of T_PRICE_DETAIL.N_PRICE + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public BigDecimal getnPrice() { + return nPrice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.N_PRICE + * + * @param nPrice the value for T_PRICE_DETAIL.N_PRICE + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnPrice(BigDecimal nPrice) { + this.nPrice = nPrice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.N_DQTY + * + * @return the value of T_PRICE_DETAIL.N_DQTY + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Short getnDqty() { + return nDqty; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.N_DQTY + * + * @param nDqty the value for T_PRICE_DETAIL.N_DQTY + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnDqty(Short nDqty) { + this.nDqty = nDqty; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.DT_ADD + * + * @return the value of T_PRICE_DETAIL.DT_ADD + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Date getDtAdd() { + return dtAdd; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.DT_ADD + * + * @param dtAdd the value for T_PRICE_DETAIL.DT_ADD + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setDtAdd(Date dtAdd) { + this.dtAdd = dtAdd; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.N_KILOMETER + * + * @return the value of T_PRICE_DETAIL.N_KILOMETER + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public BigDecimal getnKilometer() { + return nKilometer; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.N_KILOMETER + * + * @param nKilometer the value for T_PRICE_DETAIL.N_KILOMETER + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnKilometer(BigDecimal nKilometer) { + this.nKilometer = nKilometer; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.I_PRICE_SHEET + * + * @return the value of T_PRICE_DETAIL.I_PRICE_SHEET + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Long getiPriceSheet() { + return iPriceSheet; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.I_PRICE_SHEET + * + * @param iPriceSheet the value for T_PRICE_DETAIL.I_PRICE_SHEET + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setiPriceSheet(Long iPriceSheet) { + this.iPriceSheet = iPriceSheet; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.N_RATIO + * + * @return the value of T_PRICE_DETAIL.N_RATIO + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Long getnRatio() { + return nRatio; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.N_RATIO + * + * @param nRatio the value for T_PRICE_DETAIL.N_RATIO + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnRatio(Long nRatio) { + this.nRatio = nRatio; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.N_DQJSTY + * + * @return the value of T_PRICE_DETAIL.N_DQJSTY + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Short getnDqjsty() { + return nDqjsty; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.N_DQJSTY + * + * @param nDqjsty the value for T_PRICE_DETAIL.N_DQJSTY + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnDqjsty(Short nDqjsty) { + this.nDqjsty = nDqjsty; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.DCKILOMETER + * + * @return the value of T_PRICE_DETAIL.DCKILOMETER + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Short getDckilometer() { + return dckilometer; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.DCKILOMETER + * + * @param dckilometer the value for T_PRICE_DETAIL.DCKILOMETER + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setDckilometer(Short dckilometer) { + this.dckilometer = dckilometer; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.DCPRICE + * + * @return the value of T_PRICE_DETAIL.DCPRICE + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Double getDcprice() { + return dcprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.DCPRICE + * + * @param dcprice the value for T_PRICE_DETAIL.DCPRICE + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setDcprice(Double dcprice) { + this.dcprice = dcprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_DETAIL.VCMAPNAME + * + * @return the value of T_PRICE_DETAIL.VCMAPNAME + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcmapname() { + return vcmapname; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_DETAIL.VCMAPNAME + * + * @param vcmapname the value for T_PRICE_DETAIL.VCMAPNAME + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcmapname(String vcmapname) { + this.vcmapname = vcmapname == null ? null : vcmapname.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", ilineid=").append(ilineid); + sb.append(", vcStart=").append(vcStart); + sb.append(", vcEnd=").append(vcEnd); + sb.append(", vcPriceNo=").append(vcPriceNo); + sb.append(", vcStyle=").append(vcStyle); + sb.append(", vcCustomer=").append(vcCustomer); + sb.append(", nStandardPrice=").append(nStandardPrice); + sb.append(", nPrice=").append(nPrice); + sb.append(", nDqty=").append(nDqty); + sb.append(", dtAdd=").append(dtAdd); + sb.append(", nKilometer=").append(nKilometer); + sb.append(", iPriceSheet=").append(iPriceSheet); + sb.append(", nRatio=").append(nRatio); + sb.append(", nDqjsty=").append(nDqjsty); + sb.append(", dckilometer=").append(dckilometer); + sb.append(", dcprice=").append(dcprice); + sb.append(", vcmapname=").append(vcmapname); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TPriceDetailExample.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TPriceDetailExample.java new file mode 100644 index 0000000000000000000000000000000000000000..91eab8bec23cb832b607bc98e7e8a17cc04cb01a --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TPriceDetailExample.java @@ -0,0 +1,1469 @@ +package com.unlcn.erp.hyc.interfaces.base.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class TPriceDetailExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected List oredCriteria; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected int limitStart = -1; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected int limitEnd = -1; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public TPriceDetailExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setLimitStart(int limitStart) { + this.limitStart=limitStart; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public int getLimitStart() { + return limitStart; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setLimitEnd(int limitEnd) { + this.limitEnd=limitEnd; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public int getLimitEnd() { + return limitEnd; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIlineidIsNull() { + addCriterion("ILINEID is null"); + return (Criteria) this; + } + + public Criteria andIlineidIsNotNull() { + addCriterion("ILINEID is not null"); + return (Criteria) this; + } + + public Criteria andIlineidEqualTo(Long value) { + addCriterion("ILINEID =", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidNotEqualTo(Long value) { + addCriterion("ILINEID <>", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidGreaterThan(Long value) { + addCriterion("ILINEID >", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidGreaterThanOrEqualTo(Long value) { + addCriterion("ILINEID >=", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidLessThan(Long value) { + addCriterion("ILINEID <", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidLessThanOrEqualTo(Long value) { + addCriterion("ILINEID <=", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidIn(List values) { + addCriterion("ILINEID in", values, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidNotIn(List values) { + addCriterion("ILINEID not in", values, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidBetween(Long value1, Long value2) { + addCriterion("ILINEID between", value1, value2, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidNotBetween(Long value1, Long value2) { + addCriterion("ILINEID not between", value1, value2, "ilineid"); + return (Criteria) this; + } + + public Criteria andVcStartIsNull() { + addCriterion("VC_START is null"); + return (Criteria) this; + } + + public Criteria andVcStartIsNotNull() { + addCriterion("VC_START is not null"); + return (Criteria) this; + } + + public Criteria andVcStartEqualTo(String value) { + addCriterion("VC_START =", value, "vcStart"); + return (Criteria) this; + } + + public Criteria andVcStartNotEqualTo(String value) { + addCriterion("VC_START <>", value, "vcStart"); + return (Criteria) this; + } + + public Criteria andVcStartGreaterThan(String value) { + addCriterion("VC_START >", value, "vcStart"); + return (Criteria) this; + } + + public Criteria andVcStartGreaterThanOrEqualTo(String value) { + addCriterion("VC_START >=", value, "vcStart"); + return (Criteria) this; + } + + public Criteria andVcStartLessThan(String value) { + addCriterion("VC_START <", value, "vcStart"); + return (Criteria) this; + } + + public Criteria andVcStartLessThanOrEqualTo(String value) { + addCriterion("VC_START <=", value, "vcStart"); + return (Criteria) this; + } + + public Criteria andVcStartLike(String value) { + addCriterion("VC_START like", value, "vcStart"); + return (Criteria) this; + } + + public Criteria andVcStartNotLike(String value) { + addCriterion("VC_START not like", value, "vcStart"); + return (Criteria) this; + } + + public Criteria andVcStartIn(List values) { + addCriterion("VC_START in", values, "vcStart"); + return (Criteria) this; + } + + public Criteria andVcStartNotIn(List values) { + addCriterion("VC_START not in", values, "vcStart"); + return (Criteria) this; + } + + public Criteria andVcStartBetween(String value1, String value2) { + addCriterion("VC_START between", value1, value2, "vcStart"); + return (Criteria) this; + } + + public Criteria andVcStartNotBetween(String value1, String value2) { + addCriterion("VC_START not between", value1, value2, "vcStart"); + return (Criteria) this; + } + + public Criteria andVcEndIsNull() { + addCriterion("VC_END is null"); + return (Criteria) this; + } + + public Criteria andVcEndIsNotNull() { + addCriterion("VC_END is not null"); + return (Criteria) this; + } + + public Criteria andVcEndEqualTo(String value) { + addCriterion("VC_END =", value, "vcEnd"); + return (Criteria) this; + } + + public Criteria andVcEndNotEqualTo(String value) { + addCriterion("VC_END <>", value, "vcEnd"); + return (Criteria) this; + } + + public Criteria andVcEndGreaterThan(String value) { + addCriterion("VC_END >", value, "vcEnd"); + return (Criteria) this; + } + + public Criteria andVcEndGreaterThanOrEqualTo(String value) { + addCriterion("VC_END >=", value, "vcEnd"); + return (Criteria) this; + } + + public Criteria andVcEndLessThan(String value) { + addCriterion("VC_END <", value, "vcEnd"); + return (Criteria) this; + } + + public Criteria andVcEndLessThanOrEqualTo(String value) { + addCriterion("VC_END <=", value, "vcEnd"); + return (Criteria) this; + } + + public Criteria andVcEndLike(String value) { + addCriterion("VC_END like", value, "vcEnd"); + return (Criteria) this; + } + + public Criteria andVcEndNotLike(String value) { + addCriterion("VC_END not like", value, "vcEnd"); + return (Criteria) this; + } + + public Criteria andVcEndIn(List values) { + addCriterion("VC_END in", values, "vcEnd"); + return (Criteria) this; + } + + public Criteria andVcEndNotIn(List values) { + addCriterion("VC_END not in", values, "vcEnd"); + return (Criteria) this; + } + + public Criteria andVcEndBetween(String value1, String value2) { + addCriterion("VC_END between", value1, value2, "vcEnd"); + return (Criteria) this; + } + + public Criteria andVcEndNotBetween(String value1, String value2) { + addCriterion("VC_END not between", value1, value2, "vcEnd"); + return (Criteria) this; + } + + public Criteria andVcPriceNoIsNull() { + addCriterion("VC_PRICE_NO is null"); + return (Criteria) this; + } + + public Criteria andVcPriceNoIsNotNull() { + addCriterion("VC_PRICE_NO is not null"); + return (Criteria) this; + } + + public Criteria andVcPriceNoEqualTo(String value) { + addCriterion("VC_PRICE_NO =", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoNotEqualTo(String value) { + addCriterion("VC_PRICE_NO <>", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoGreaterThan(String value) { + addCriterion("VC_PRICE_NO >", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoGreaterThanOrEqualTo(String value) { + addCriterion("VC_PRICE_NO >=", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoLessThan(String value) { + addCriterion("VC_PRICE_NO <", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoLessThanOrEqualTo(String value) { + addCriterion("VC_PRICE_NO <=", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoLike(String value) { + addCriterion("VC_PRICE_NO like", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoNotLike(String value) { + addCriterion("VC_PRICE_NO not like", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoIn(List values) { + addCriterion("VC_PRICE_NO in", values, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoNotIn(List values) { + addCriterion("VC_PRICE_NO not in", values, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoBetween(String value1, String value2) { + addCriterion("VC_PRICE_NO between", value1, value2, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoNotBetween(String value1, String value2) { + addCriterion("VC_PRICE_NO not between", value1, value2, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcStyleIsNull() { + addCriterion("VC_STYLE is null"); + return (Criteria) this; + } + + public Criteria andVcStyleIsNotNull() { + addCriterion("VC_STYLE is not null"); + return (Criteria) this; + } + + public Criteria andVcStyleEqualTo(String value) { + addCriterion("VC_STYLE =", value, "vcStyle"); + return (Criteria) this; + } + + public Criteria andVcStyleNotEqualTo(String value) { + addCriterion("VC_STYLE <>", value, "vcStyle"); + return (Criteria) this; + } + + public Criteria andVcStyleGreaterThan(String value) { + addCriterion("VC_STYLE >", value, "vcStyle"); + return (Criteria) this; + } + + public Criteria andVcStyleGreaterThanOrEqualTo(String value) { + addCriterion("VC_STYLE >=", value, "vcStyle"); + return (Criteria) this; + } + + public Criteria andVcStyleLessThan(String value) { + addCriterion("VC_STYLE <", value, "vcStyle"); + return (Criteria) this; + } + + public Criteria andVcStyleLessThanOrEqualTo(String value) { + addCriterion("VC_STYLE <=", value, "vcStyle"); + return (Criteria) this; + } + + public Criteria andVcStyleLike(String value) { + addCriterion("VC_STYLE like", value, "vcStyle"); + return (Criteria) this; + } + + public Criteria andVcStyleNotLike(String value) { + addCriterion("VC_STYLE not like", value, "vcStyle"); + return (Criteria) this; + } + + public Criteria andVcStyleIn(List values) { + addCriterion("VC_STYLE in", values, "vcStyle"); + return (Criteria) this; + } + + public Criteria andVcStyleNotIn(List values) { + addCriterion("VC_STYLE not in", values, "vcStyle"); + return (Criteria) this; + } + + public Criteria andVcStyleBetween(String value1, String value2) { + addCriterion("VC_STYLE between", value1, value2, "vcStyle"); + return (Criteria) this; + } + + public Criteria andVcStyleNotBetween(String value1, String value2) { + addCriterion("VC_STYLE not between", value1, value2, "vcStyle"); + return (Criteria) this; + } + + public Criteria andVcCustomerIsNull() { + addCriterion("VC_CUSTOMER is null"); + return (Criteria) this; + } + + public Criteria andVcCustomerIsNotNull() { + addCriterion("VC_CUSTOMER is not null"); + return (Criteria) this; + } + + public Criteria andVcCustomerEqualTo(String value) { + addCriterion("VC_CUSTOMER =", value, "vcCustomer"); + return (Criteria) this; + } + + public Criteria andVcCustomerNotEqualTo(String value) { + addCriterion("VC_CUSTOMER <>", value, "vcCustomer"); + return (Criteria) this; + } + + public Criteria andVcCustomerGreaterThan(String value) { + addCriterion("VC_CUSTOMER >", value, "vcCustomer"); + return (Criteria) this; + } + + public Criteria andVcCustomerGreaterThanOrEqualTo(String value) { + addCriterion("VC_CUSTOMER >=", value, "vcCustomer"); + return (Criteria) this; + } + + public Criteria andVcCustomerLessThan(String value) { + addCriterion("VC_CUSTOMER <", value, "vcCustomer"); + return (Criteria) this; + } + + public Criteria andVcCustomerLessThanOrEqualTo(String value) { + addCriterion("VC_CUSTOMER <=", value, "vcCustomer"); + return (Criteria) this; + } + + public Criteria andVcCustomerLike(String value) { + addCriterion("VC_CUSTOMER like", value, "vcCustomer"); + return (Criteria) this; + } + + public Criteria andVcCustomerNotLike(String value) { + addCriterion("VC_CUSTOMER not like", value, "vcCustomer"); + return (Criteria) this; + } + + public Criteria andVcCustomerIn(List values) { + addCriterion("VC_CUSTOMER in", values, "vcCustomer"); + return (Criteria) this; + } + + public Criteria andVcCustomerNotIn(List values) { + addCriterion("VC_CUSTOMER not in", values, "vcCustomer"); + return (Criteria) this; + } + + public Criteria andVcCustomerBetween(String value1, String value2) { + addCriterion("VC_CUSTOMER between", value1, value2, "vcCustomer"); + return (Criteria) this; + } + + public Criteria andVcCustomerNotBetween(String value1, String value2) { + addCriterion("VC_CUSTOMER not between", value1, value2, "vcCustomer"); + return (Criteria) this; + } + + public Criteria andNStandardPriceIsNull() { + addCriterion("N_STANDARD_PRICE is null"); + return (Criteria) this; + } + + public Criteria andNStandardPriceIsNotNull() { + addCriterion("N_STANDARD_PRICE is not null"); + return (Criteria) this; + } + + public Criteria andNStandardPriceEqualTo(Short value) { + addCriterion("N_STANDARD_PRICE =", value, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceNotEqualTo(Short value) { + addCriterion("N_STANDARD_PRICE <>", value, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceGreaterThan(Short value) { + addCriterion("N_STANDARD_PRICE >", value, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceGreaterThanOrEqualTo(Short value) { + addCriterion("N_STANDARD_PRICE >=", value, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceLessThan(Short value) { + addCriterion("N_STANDARD_PRICE <", value, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceLessThanOrEqualTo(Short value) { + addCriterion("N_STANDARD_PRICE <=", value, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceIn(List values) { + addCriterion("N_STANDARD_PRICE in", values, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceNotIn(List values) { + addCriterion("N_STANDARD_PRICE not in", values, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceBetween(Short value1, Short value2) { + addCriterion("N_STANDARD_PRICE between", value1, value2, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceNotBetween(Short value1, Short value2) { + addCriterion("N_STANDARD_PRICE not between", value1, value2, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNPriceIsNull() { + addCriterion("N_PRICE is null"); + return (Criteria) this; + } + + public Criteria andNPriceIsNotNull() { + addCriterion("N_PRICE is not null"); + return (Criteria) this; + } + + public Criteria andNPriceEqualTo(Short value) { + addCriterion("N_PRICE =", value, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceNotEqualTo(Short value) { + addCriterion("N_PRICE <>", value, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceGreaterThan(Short value) { + addCriterion("N_PRICE >", value, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceGreaterThanOrEqualTo(Short value) { + addCriterion("N_PRICE >=", value, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceLessThan(Short value) { + addCriterion("N_PRICE <", value, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceLessThanOrEqualTo(Short value) { + addCriterion("N_PRICE <=", value, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceIn(List values) { + addCriterion("N_PRICE in", values, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceNotIn(List values) { + addCriterion("N_PRICE not in", values, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceBetween(Short value1, Short value2) { + addCriterion("N_PRICE between", value1, value2, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceNotBetween(Short value1, Short value2) { + addCriterion("N_PRICE not between", value1, value2, "nPrice"); + return (Criteria) this; + } + + public Criteria andNDqtyIsNull() { + addCriterion("N_DQTY is null"); + return (Criteria) this; + } + + public Criteria andNDqtyIsNotNull() { + addCriterion("N_DQTY is not null"); + return (Criteria) this; + } + + public Criteria andNDqtyEqualTo(Short value) { + addCriterion("N_DQTY =", value, "nDqty"); + return (Criteria) this; + } + + public Criteria andNDqtyNotEqualTo(Short value) { + addCriterion("N_DQTY <>", value, "nDqty"); + return (Criteria) this; + } + + public Criteria andNDqtyGreaterThan(Short value) { + addCriterion("N_DQTY >", value, "nDqty"); + return (Criteria) this; + } + + public Criteria andNDqtyGreaterThanOrEqualTo(Short value) { + addCriterion("N_DQTY >=", value, "nDqty"); + return (Criteria) this; + } + + public Criteria andNDqtyLessThan(Short value) { + addCriterion("N_DQTY <", value, "nDqty"); + return (Criteria) this; + } + + public Criteria andNDqtyLessThanOrEqualTo(Short value) { + addCriterion("N_DQTY <=", value, "nDqty"); + return (Criteria) this; + } + + public Criteria andNDqtyIn(List values) { + addCriterion("N_DQTY in", values, "nDqty"); + return (Criteria) this; + } + + public Criteria andNDqtyNotIn(List values) { + addCriterion("N_DQTY not in", values, "nDqty"); + return (Criteria) this; + } + + public Criteria andNDqtyBetween(Short value1, Short value2) { + addCriterion("N_DQTY between", value1, value2, "nDqty"); + return (Criteria) this; + } + + public Criteria andNDqtyNotBetween(Short value1, Short value2) { + addCriterion("N_DQTY not between", value1, value2, "nDqty"); + return (Criteria) this; + } + + public Criteria andDtAddIsNull() { + addCriterion("DT_ADD is null"); + return (Criteria) this; + } + + public Criteria andDtAddIsNotNull() { + addCriterion("DT_ADD is not null"); + return (Criteria) this; + } + + public Criteria andDtAddEqualTo(Date value) { + addCriterion("DT_ADD =", value, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddNotEqualTo(Date value) { + addCriterion("DT_ADD <>", value, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddGreaterThan(Date value) { + addCriterion("DT_ADD >", value, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddGreaterThanOrEqualTo(Date value) { + addCriterion("DT_ADD >=", value, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddLessThan(Date value) { + addCriterion("DT_ADD <", value, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddLessThanOrEqualTo(Date value) { + addCriterion("DT_ADD <=", value, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddIn(List values) { + addCriterion("DT_ADD in", values, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddNotIn(List values) { + addCriterion("DT_ADD not in", values, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddBetween(Date value1, Date value2) { + addCriterion("DT_ADD between", value1, value2, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddNotBetween(Date value1, Date value2) { + addCriterion("DT_ADD not between", value1, value2, "dtAdd"); + return (Criteria) this; + } + + public Criteria andNKilometerIsNull() { + addCriterion("N_KILOMETER is null"); + return (Criteria) this; + } + + public Criteria andNKilometerIsNotNull() { + addCriterion("N_KILOMETER is not null"); + return (Criteria) this; + } + + public Criteria andNKilometerEqualTo(Short value) { + addCriterion("N_KILOMETER =", value, "nKilometer"); + return (Criteria) this; + } + + public Criteria andNKilometerNotEqualTo(Short value) { + addCriterion("N_KILOMETER <>", value, "nKilometer"); + return (Criteria) this; + } + + public Criteria andNKilometerGreaterThan(Short value) { + addCriterion("N_KILOMETER >", value, "nKilometer"); + return (Criteria) this; + } + + public Criteria andNKilometerGreaterThanOrEqualTo(Short value) { + addCriterion("N_KILOMETER >=", value, "nKilometer"); + return (Criteria) this; + } + + public Criteria andNKilometerLessThan(Short value) { + addCriterion("N_KILOMETER <", value, "nKilometer"); + return (Criteria) this; + } + + public Criteria andNKilometerLessThanOrEqualTo(Short value) { + addCriterion("N_KILOMETER <=", value, "nKilometer"); + return (Criteria) this; + } + + public Criteria andNKilometerIn(List values) { + addCriterion("N_KILOMETER in", values, "nKilometer"); + return (Criteria) this; + } + + public Criteria andNKilometerNotIn(List values) { + addCriterion("N_KILOMETER not in", values, "nKilometer"); + return (Criteria) this; + } + + public Criteria andNKilometerBetween(Short value1, Short value2) { + addCriterion("N_KILOMETER between", value1, value2, "nKilometer"); + return (Criteria) this; + } + + public Criteria andNKilometerNotBetween(Short value1, Short value2) { + addCriterion("N_KILOMETER not between", value1, value2, "nKilometer"); + return (Criteria) this; + } + + public Criteria andIPriceSheetIsNull() { + addCriterion("I_PRICE_SHEET is null"); + return (Criteria) this; + } + + public Criteria andIPriceSheetIsNotNull() { + addCriterion("I_PRICE_SHEET is not null"); + return (Criteria) this; + } + + public Criteria andIPriceSheetEqualTo(Long value) { + addCriterion("I_PRICE_SHEET =", value, "iPriceSheet"); + return (Criteria) this; + } + + public Criteria andIPriceSheetNotEqualTo(Long value) { + addCriterion("I_PRICE_SHEET <>", value, "iPriceSheet"); + return (Criteria) this; + } + + public Criteria andIPriceSheetGreaterThan(Short value) { + addCriterion("I_PRICE_SHEET >", value, "iPriceSheet"); + return (Criteria) this; + } + + public Criteria andIPriceSheetGreaterThanOrEqualTo(Short value) { + addCriterion("I_PRICE_SHEET >=", value, "iPriceSheet"); + return (Criteria) this; + } + + public Criteria andIPriceSheetLessThan(Short value) { + addCriterion("I_PRICE_SHEET <", value, "iPriceSheet"); + return (Criteria) this; + } + + public Criteria andIPriceSheetLessThanOrEqualTo(Short value) { + addCriterion("I_PRICE_SHEET <=", value, "iPriceSheet"); + return (Criteria) this; + } + + public Criteria andIPriceSheetIn(List values) { + addCriterion("I_PRICE_SHEET in", values, "iPriceSheet"); + return (Criteria) this; + } + + public Criteria andIPriceSheetNotIn(List values) { + addCriterion("I_PRICE_SHEET not in", values, "iPriceSheet"); + return (Criteria) this; + } + + public Criteria andIPriceSheetBetween(Short value1, Short value2) { + addCriterion("I_PRICE_SHEET between", value1, value2, "iPriceSheet"); + return (Criteria) this; + } + + public Criteria andIPriceSheetNotBetween(Short value1, Short value2) { + addCriterion("I_PRICE_SHEET not between", value1, value2, "iPriceSheet"); + return (Criteria) this; + } + + public Criteria andNRatioIsNull() { + addCriterion("N_RATIO is null"); + return (Criteria) this; + } + + public Criteria andNRatioIsNotNull() { + addCriterion("N_RATIO is not null"); + return (Criteria) this; + } + + public Criteria andNRatioEqualTo(Short value) { + addCriterion("N_RATIO =", value, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioNotEqualTo(Short value) { + addCriterion("N_RATIO <>", value, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioGreaterThan(Short value) { + addCriterion("N_RATIO >", value, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioGreaterThanOrEqualTo(Short value) { + addCriterion("N_RATIO >=", value, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioLessThan(Short value) { + addCriterion("N_RATIO <", value, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioLessThanOrEqualTo(Short value) { + addCriterion("N_RATIO <=", value, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioIn(List values) { + addCriterion("N_RATIO in", values, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioNotIn(List values) { + addCriterion("N_RATIO not in", values, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioBetween(Short value1, Short value2) { + addCriterion("N_RATIO between", value1, value2, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioNotBetween(Short value1, Short value2) { + addCriterion("N_RATIO not between", value1, value2, "nRatio"); + return (Criteria) this; + } + + public Criteria andNDqjstyIsNull() { + addCriterion("N_DQJSTY is null"); + return (Criteria) this; + } + + public Criteria andNDqjstyIsNotNull() { + addCriterion("N_DQJSTY is not null"); + return (Criteria) this; + } + + public Criteria andNDqjstyEqualTo(Short value) { + addCriterion("N_DQJSTY =", value, "nDqjsty"); + return (Criteria) this; + } + + public Criteria andNDqjstyNotEqualTo(Short value) { + addCriterion("N_DQJSTY <>", value, "nDqjsty"); + return (Criteria) this; + } + + public Criteria andNDqjstyGreaterThan(Short value) { + addCriterion("N_DQJSTY >", value, "nDqjsty"); + return (Criteria) this; + } + + public Criteria andNDqjstyGreaterThanOrEqualTo(Short value) { + addCriterion("N_DQJSTY >=", value, "nDqjsty"); + return (Criteria) this; + } + + public Criteria andNDqjstyLessThan(Short value) { + addCriterion("N_DQJSTY <", value, "nDqjsty"); + return (Criteria) this; + } + + public Criteria andNDqjstyLessThanOrEqualTo(Short value) { + addCriterion("N_DQJSTY <=", value, "nDqjsty"); + return (Criteria) this; + } + + public Criteria andNDqjstyIn(List values) { + addCriterion("N_DQJSTY in", values, "nDqjsty"); + return (Criteria) this; + } + + public Criteria andNDqjstyNotIn(List values) { + addCriterion("N_DQJSTY not in", values, "nDqjsty"); + return (Criteria) this; + } + + public Criteria andNDqjstyBetween(Short value1, Short value2) { + addCriterion("N_DQJSTY between", value1, value2, "nDqjsty"); + return (Criteria) this; + } + + public Criteria andNDqjstyNotBetween(Short value1, Short value2) { + addCriterion("N_DQJSTY not between", value1, value2, "nDqjsty"); + return (Criteria) this; + } + + public Criteria andDckilometerIsNull() { + addCriterion("DCKILOMETER is null"); + return (Criteria) this; + } + + public Criteria andDckilometerIsNotNull() { + addCriterion("DCKILOMETER is not null"); + return (Criteria) this; + } + + public Criteria andDckilometerEqualTo(Short value) { + addCriterion("DCKILOMETER =", value, "dckilometer"); + return (Criteria) this; + } + + public Criteria andDckilometerNotEqualTo(Short value) { + addCriterion("DCKILOMETER <>", value, "dckilometer"); + return (Criteria) this; + } + + public Criteria andDckilometerGreaterThan(Short value) { + addCriterion("DCKILOMETER >", value, "dckilometer"); + return (Criteria) this; + } + + public Criteria andDckilometerGreaterThanOrEqualTo(Short value) { + addCriterion("DCKILOMETER >=", value, "dckilometer"); + return (Criteria) this; + } + + public Criteria andDckilometerLessThan(Short value) { + addCriterion("DCKILOMETER <", value, "dckilometer"); + return (Criteria) this; + } + + public Criteria andDckilometerLessThanOrEqualTo(Short value) { + addCriterion("DCKILOMETER <=", value, "dckilometer"); + return (Criteria) this; + } + + public Criteria andDckilometerIn(List values) { + addCriterion("DCKILOMETER in", values, "dckilometer"); + return (Criteria) this; + } + + public Criteria andDckilometerNotIn(List values) { + addCriterion("DCKILOMETER not in", values, "dckilometer"); + return (Criteria) this; + } + + public Criteria andDckilometerBetween(Short value1, Short value2) { + addCriterion("DCKILOMETER between", value1, value2, "dckilometer"); + return (Criteria) this; + } + + public Criteria andDckilometerNotBetween(Short value1, Short value2) { + addCriterion("DCKILOMETER not between", value1, value2, "dckilometer"); + return (Criteria) this; + } + + public Criteria andDcpriceIsNull() { + addCriterion("DCPRICE is null"); + return (Criteria) this; + } + + public Criteria andDcpriceIsNotNull() { + addCriterion("DCPRICE is not null"); + return (Criteria) this; + } + + public Criteria andDcpriceEqualTo(Short value) { + addCriterion("DCPRICE =", value, "dcprice"); + return (Criteria) this; + } + + public Criteria andDcpriceNotEqualTo(Short value) { + addCriterion("DCPRICE <>", value, "dcprice"); + return (Criteria) this; + } + + public Criteria andDcpriceGreaterThan(Short value) { + addCriterion("DCPRICE >", value, "dcprice"); + return (Criteria) this; + } + + public Criteria andDcpriceGreaterThanOrEqualTo(Short value) { + addCriterion("DCPRICE >=", value, "dcprice"); + return (Criteria) this; + } + + public Criteria andDcpriceLessThan(Short value) { + addCriterion("DCPRICE <", value, "dcprice"); + return (Criteria) this; + } + + public Criteria andDcpriceLessThanOrEqualTo(Short value) { + addCriterion("DCPRICE <=", value, "dcprice"); + return (Criteria) this; + } + + public Criteria andDcpriceIn(List values) { + addCriterion("DCPRICE in", values, "dcprice"); + return (Criteria) this; + } + + public Criteria andDcpriceNotIn(List values) { + addCriterion("DCPRICE not in", values, "dcprice"); + return (Criteria) this; + } + + public Criteria andDcpriceBetween(Short value1, Short value2) { + addCriterion("DCPRICE between", value1, value2, "dcprice"); + return (Criteria) this; + } + + public Criteria andDcpriceNotBetween(Short value1, Short value2) { + addCriterion("DCPRICE not between", value1, value2, "dcprice"); + return (Criteria) this; + } + + public Criteria andVcmapnameIsNull() { + addCriterion("VCMAPNAME is null"); + return (Criteria) this; + } + + public Criteria andVcmapnameIsNotNull() { + addCriterion("VCMAPNAME is not null"); + return (Criteria) this; + } + + public Criteria andVcmapnameEqualTo(String value) { + addCriterion("VCMAPNAME =", value, "vcmapname"); + return (Criteria) this; + } + + public Criteria andVcmapnameNotEqualTo(String value) { + addCriterion("VCMAPNAME <>", value, "vcmapname"); + return (Criteria) this; + } + + public Criteria andVcmapnameGreaterThan(String value) { + addCriterion("VCMAPNAME >", value, "vcmapname"); + return (Criteria) this; + } + + public Criteria andVcmapnameGreaterThanOrEqualTo(String value) { + addCriterion("VCMAPNAME >=", value, "vcmapname"); + return (Criteria) this; + } + + public Criteria andVcmapnameLessThan(String value) { + addCriterion("VCMAPNAME <", value, "vcmapname"); + return (Criteria) this; + } + + public Criteria andVcmapnameLessThanOrEqualTo(String value) { + addCriterion("VCMAPNAME <=", value, "vcmapname"); + return (Criteria) this; + } + + public Criteria andVcmapnameLike(String value) { + addCriterion("VCMAPNAME like", value, "vcmapname"); + return (Criteria) this; + } + + public Criteria andVcmapnameNotLike(String value) { + addCriterion("VCMAPNAME not like", value, "vcmapname"); + return (Criteria) this; + } + + public Criteria andVcmapnameIn(List values) { + addCriterion("VCMAPNAME in", values, "vcmapname"); + return (Criteria) this; + } + + public Criteria andVcmapnameNotIn(List values) { + addCriterion("VCMAPNAME not in", values, "vcmapname"); + return (Criteria) this; + } + + public Criteria andVcmapnameBetween(String value1, String value2) { + addCriterion("VCMAPNAME between", value1, value2, "vcmapname"); + return (Criteria) this; + } + + public Criteria andVcmapnameNotBetween(String value1, String value2) { + addCriterion("VCMAPNAME not between", value1, value2, "vcmapname"); + return (Criteria) this; + } + + public Criteria andVcStartLikeInsensitive(String value) { + addCriterion("upper(VC_START) like", value.toUpperCase(), "vcStart"); + return (Criteria) this; + } + + public Criteria andVcEndLikeInsensitive(String value) { + addCriterion("upper(VC_END) like", value.toUpperCase(), "vcEnd"); + return (Criteria) this; + } + + public Criteria andVcPriceNoLikeInsensitive(String value) { + addCriterion("upper(VC_PRICE_NO) like", value.toUpperCase(), "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcStyleLikeInsensitive(String value) { + addCriterion("upper(VC_STYLE) like", value.toUpperCase(), "vcStyle"); + return (Criteria) this; + } + + public Criteria andVcCustomerLikeInsensitive(String value) { + addCriterion("upper(VC_CUSTOMER) like", value.toUpperCase(), "vcCustomer"); + return (Criteria) this; + } + + public Criteria andVcmapnameLikeInsensitive(String value) { + addCriterion("upper(VCMAPNAME) like", value.toUpperCase(), "vcmapname"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated do_not_delete_during_merge Wed Jun 13 16:29:58 CST 2018 + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table T_PRICE_DETAIL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TPriceSheet.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TPriceSheet.java new file mode 100644 index 0000000000000000000000000000000000000000..e7a324f38cf67cc6858daea6beb05721220f8e76 --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TPriceSheet.java @@ -0,0 +1,953 @@ +package com.unlcn.erp.hyc.interfaces.base.model; + +import java.io.Serializable; +import java.util.Date; + +public class TPriceSheet implements Serializable { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.ILINEID + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Long ilineid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.VC_PRICE_NO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcPriceNo; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.N_STATUS + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Short nStatus; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.DT_APPROVE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Date dtApprove; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.N_CREATE_CONTRACT + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Short nCreateContract; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.N_ENABLE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Short nEnable; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.I_FLEET_ID + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Long iFleetId; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.VC_FLEET_NAME + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcFleetName; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.N_PAY_METHODE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Short nPayMethode; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.N_PAYMENT_DAYS + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Short nPaymentDays; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.VC_OTHER_NOTE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcOtherNote; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.N_OTHER + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Double nOther; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.N_LEVEL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Short nLevel; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.DT_DEADLLINE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Date dtDeadlline; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.VC_ADD_USERNO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcAddUserno; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.N_ADD + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Short nAdd; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.DT_ADD + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Date dtAdd; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.VC_CREATE_USERNO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcCreateUserno; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.DT_CREATE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Date dtCreate; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.N_STANDARD_PRICE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Double nStandardPrice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.N_PRICE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Double nPrice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.VC_APPROVER + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcApprover; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.N_RATIO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Short nRatio; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.VC_ALL_APPROVERS + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcAllApprovers; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.N_INDEX + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Long nIndex; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.N_JSSTANDARD_PRICE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private Double nJsstandardPrice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column T_PRICE_SHEET.VCREMARK + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private String vcremark; + private Short iCountType; + private Short bPrint; + private Date dtStart; + private Date dtEnd; + + public Short getICountType() { + return iCountType; + } + public void setICountType(Short iCountType) { + this.iCountType = iCountType; + } + + public Short getBPrint() { + return bPrint; + } + public void setBPrint(Short bPrint) { + this.bPrint = bPrint; + } + public Date getDtStart() { + return dtStart; + } + public void setDtStart(Date dtStart) { + this.dtStart = dtStart; + } + public Date getDtEnd() { + return dtEnd; + } + public void setDtEnd(Date dtEnd) { + this.dtEnd = dtEnd; + } + + + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + private static final long serialVersionUID = 1L; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.ILINEID + * + * @return the value of T_PRICE_SHEET.ILINEID + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Long getIlineid() { + return ilineid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column SOSHIPHEAD.ILINEID + * + * @param ilineid the value for SOSHIPHEAD.ILINEID + * + * @mbggenerated Fri Sep 08 17:43:26 CST 2017 + */ + public void setIlineid(Long ilineid) { + this.ilineid = ilineid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.VC_PRICE_NO + * + * @return the value of T_PRICE_SHEET.VC_PRICE_NO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcPriceNo() { + return vcPriceNo; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.VC_PRICE_NO + * + * @param vcPriceNo the value for T_PRICE_SHEET.VC_PRICE_NO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcPriceNo(String vcPriceNo) { + this.vcPriceNo = vcPriceNo == null ? null : vcPriceNo.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.N_STATUS + * + * @return the value of T_PRICE_SHEET.N_STATUS + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Short getnStatus() { + return nStatus; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.N_STATUS + * + * @param nStatus the value for T_PRICE_SHEET.N_STATUS + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnStatus(Short nStatus) { + this.nStatus = nStatus; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.DT_APPROVE + * + * @return the value of T_PRICE_SHEET.DT_APPROVE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Date getDtApprove() { + return dtApprove; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.DT_APPROVE + * + * @param dtApprove the value for T_PRICE_SHEET.DT_APPROVE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setDtApprove(Date dtApprove) { + this.dtApprove = dtApprove; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.N_CREATE_CONTRACT + * + * @return the value of T_PRICE_SHEET.N_CREATE_CONTRACT + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Short getnCreateContract() { + return nCreateContract; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.N_CREATE_CONTRACT + * + * @param nCreateContract the value for T_PRICE_SHEET.N_CREATE_CONTRACT + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnCreateContract(Short nCreateContract) { + this.nCreateContract = nCreateContract; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.N_ENABLE + * + * @return the value of T_PRICE_SHEET.N_ENABLE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Short getnEnable() { + return nEnable; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.N_ENABLE + * + * @param nEnable the value for T_PRICE_SHEET.N_ENABLE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnEnable(Short nEnable) { + this.nEnable = nEnable; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.I_FLEET_ID + * + * @return the value of T_PRICE_SHEET.I_FLEET_ID + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Long getiFleetId() { + return iFleetId; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.I_FLEET_ID + * + * @param iFleetId the value for T_PRICE_SHEET.I_FLEET_ID + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setiFleetId(Long iFleetId) { + this.iFleetId = iFleetId; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.VC_FLEET_NAME + * + * @return the value of T_PRICE_SHEET.VC_FLEET_NAME + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcFleetName() { + return vcFleetName; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.VC_FLEET_NAME + * + * @param vcFleetName the value for T_PRICE_SHEET.VC_FLEET_NAME + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcFleetName(String vcFleetName) { + this.vcFleetName = vcFleetName == null ? null : vcFleetName.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.N_PAY_METHODE + * + * @return the value of T_PRICE_SHEET.N_PAY_METHODE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Short getnPayMethode() { + return nPayMethode; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.N_PAY_METHODE + * + * @param nPayMethode the value for T_PRICE_SHEET.N_PAY_METHODE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnPayMethode(Short nPayMethode) { + this.nPayMethode = nPayMethode; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.N_PAYMENT_DAYS + * + * @return the value of T_PRICE_SHEET.N_PAYMENT_DAYS + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Short getnPaymentDays() { + return nPaymentDays; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.N_PAYMENT_DAYS + * + * @param nPaymentDays the value for T_PRICE_SHEET.N_PAYMENT_DAYS + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnPaymentDays(Short nPaymentDays) { + this.nPaymentDays = nPaymentDays; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.VC_OTHER_NOTE + * + * @return the value of T_PRICE_SHEET.VC_OTHER_NOTE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcOtherNote() { + return vcOtherNote; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.VC_OTHER_NOTE + * + * @param vcOtherNote the value for T_PRICE_SHEET.VC_OTHER_NOTE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcOtherNote(String vcOtherNote) { + this.vcOtherNote = vcOtherNote == null ? null : vcOtherNote.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.N_OTHER + * + * @return the value of T_PRICE_SHEET.N_OTHER + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Double getnOther() { + return nOther; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.N_OTHER + * + * @param nOther the value for T_PRICE_SHEET.N_OTHER + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnOther(Double nOther) { + this.nOther = nOther; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.N_LEVEL + * + * @return the value of T_PRICE_SHEET.N_LEVEL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Short getnLevel() { + return nLevel; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.N_LEVEL + * + * @param nLevel the value for T_PRICE_SHEET.N_LEVEL + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnLevel(Short nLevel) { + this.nLevel = nLevel; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.DT_DEADLLINE + * + * @return the value of T_PRICE_SHEET.DT_DEADLLINE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Date getDtDeadlline() { + return dtDeadlline; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.DT_DEADLLINE + * + * @param dtDeadlline the value for T_PRICE_SHEET.DT_DEADLLINE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setDtDeadlline(Date dtDeadlline) { + this.dtDeadlline = dtDeadlline; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.VC_ADD_USERNO + * + * @return the value of T_PRICE_SHEET.VC_ADD_USERNO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcAddUserno() { + return vcAddUserno; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.VC_ADD_USERNO + * + * @param vcAddUserno the value for T_PRICE_SHEET.VC_ADD_USERNO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcAddUserno(String vcAddUserno) { + this.vcAddUserno = vcAddUserno == null ? null : vcAddUserno.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.N_ADD + * + * @return the value of T_PRICE_SHEET.N_ADD + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Short getnAdd() { + return nAdd; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.N_ADD + * + * @param nAdd the value for T_PRICE_SHEET.N_ADD + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnAdd(Short nAdd) { + this.nAdd = nAdd; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.DT_ADD + * + * @return the value of T_PRICE_SHEET.DT_ADD + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Date getDtAdd() { + return dtAdd; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.DT_ADD + * + * @param dtAdd the value for T_PRICE_SHEET.DT_ADD + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setDtAdd(Date dtAdd) { + this.dtAdd = dtAdd; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.VC_CREATE_USERNO + * + * @return the value of T_PRICE_SHEET.VC_CREATE_USERNO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcCreateUserno() { + return vcCreateUserno; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.VC_CREATE_USERNO + * + * @param vcCreateUserno the value for T_PRICE_SHEET.VC_CREATE_USERNO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcCreateUserno(String vcCreateUserno) { + this.vcCreateUserno = vcCreateUserno == null ? null : vcCreateUserno.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.DT_CREATE + * + * @return the value of T_PRICE_SHEET.DT_CREATE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Date getDtCreate() { + return dtCreate; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.DT_CREATE + * + * @param dtCreate the value for T_PRICE_SHEET.DT_CREATE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setDtCreate(Date dtCreate) { + this.dtCreate = dtCreate; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.N_STANDARD_PRICE + * + * @return the value of T_PRICE_SHEET.N_STANDARD_PRICE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Double getnStandardPrice() { + return nStandardPrice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.N_STANDARD_PRICE + * + * @param nStandardPrice the value for T_PRICE_SHEET.N_STANDARD_PRICE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnStandardPrice(Double nStandardPrice) { + this.nStandardPrice = nStandardPrice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.N_PRICE + * + * @return the value of T_PRICE_SHEET.N_PRICE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Double getnPrice() { + return nPrice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.N_PRICE + * + * @param nPrice the value for T_PRICE_SHEET.N_PRICE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnPrice(Double nPrice) { + this.nPrice = nPrice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.VC_APPROVER + * + * @return the value of T_PRICE_SHEET.VC_APPROVER + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcApprover() { + return vcApprover; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.VC_APPROVER + * + * @param vcApprover the value for T_PRICE_SHEET.VC_APPROVER + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcApprover(String vcApprover) { + this.vcApprover = vcApprover == null ? null : vcApprover.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.N_RATIO + * + * @return the value of T_PRICE_SHEET.N_RATIO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Short getnRatio() { + return nRatio; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.N_RATIO + * + * @param nRatio the value for T_PRICE_SHEET.N_RATIO + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnRatio(Short nRatio) { + this.nRatio = nRatio; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.VC_ALL_APPROVERS + * + * @return the value of T_PRICE_SHEET.VC_ALL_APPROVERS + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcAllApprovers() { + return vcAllApprovers; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.VC_ALL_APPROVERS + * + * @param vcAllApprovers the value for T_PRICE_SHEET.VC_ALL_APPROVERS + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcAllApprovers(String vcAllApprovers) { + this.vcAllApprovers = vcAllApprovers == null ? null : vcAllApprovers.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.N_INDEX + * + * @return the value of T_PRICE_SHEET.N_INDEX + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Long getnIndex() { + return nIndex; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.N_INDEX + * + * @param nIndex the value for T_PRICE_SHEET.N_INDEX + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnIndex(Long nIndex) { + this.nIndex = nIndex; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.N_JSSTANDARD_PRICE + * + * @return the value of T_PRICE_SHEET.N_JSSTANDARD_PRICE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Double getnJsstandardPrice() { + return nJsstandardPrice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.N_JSSTANDARD_PRICE + * + * @param nJsstandardPrice the value for T_PRICE_SHEET.N_JSSTANDARD_PRICE + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setnJsstandardPrice(Double nJsstandardPrice) { + this.nJsstandardPrice = nJsstandardPrice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column T_PRICE_SHEET.VCREMARK + * + * @return the value of T_PRICE_SHEET.VCREMARK + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getVcremark() { + return vcremark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column T_PRICE_SHEET.VCREMARK + * + * @param vcremark the value for T_PRICE_SHEET.VCREMARK + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setVcremark(String vcremark) { + this.vcremark = vcremark == null ? null : vcremark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", ilineid=").append(ilineid); + sb.append(", vcPriceNo=").append(vcPriceNo); + sb.append(", nStatus=").append(nStatus); + sb.append(", dtApprove=").append(dtApprove); + sb.append(", nCreateContract=").append(nCreateContract); + sb.append(", nEnable=").append(nEnable); + sb.append(", iFleetId=").append(iFleetId); + sb.append(", vcFleetName=").append(vcFleetName); + sb.append(", nPayMethode=").append(nPayMethode); + sb.append(", nPaymentDays=").append(nPaymentDays); + sb.append(", vcOtherNote=").append(vcOtherNote); + sb.append(", nOther=").append(nOther); + sb.append(", nLevel=").append(nLevel); + sb.append(", dtDeadlline=").append(dtDeadlline); + sb.append(", vcAddUserno=").append(vcAddUserno); + sb.append(", nAdd=").append(nAdd); + sb.append(", dtAdd=").append(dtAdd); + sb.append(", vcCreateUserno=").append(vcCreateUserno); + sb.append(", dtCreate=").append(dtCreate); + sb.append(", nStandardPrice=").append(nStandardPrice); + sb.append(", nPrice=").append(nPrice); + sb.append(", vcApprover=").append(vcApprover); + sb.append(", nRatio=").append(nRatio); + sb.append(", vcAllApprovers=").append(vcAllApprovers); + sb.append(", nIndex=").append(nIndex); + sb.append(", nJsstandardPrice=").append(nJsstandardPrice); + sb.append(", vcremark=").append(vcremark); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TPriceSheetExample.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TPriceSheetExample.java new file mode 100644 index 0000000000000000000000000000000000000000..e67197f8e78e2e90acaffd317565246b69d493e9 --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TPriceSheetExample.java @@ -0,0 +1,2099 @@ +package com.unlcn.erp.hyc.interfaces.base.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class TPriceSheetExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected List oredCriteria; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected int limitStart = -1; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected int limitEnd = -1; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public TPriceSheetExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setLimitStart(int limitStart) { + this.limitStart=limitStart; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public int getLimitStart() { + return limitStart; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public void setLimitEnd(int limitEnd) { + this.limitEnd=limitEnd; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public int getLimitEnd() { + return limitEnd; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIlineidIsNull() { + addCriterion("ILINEID is null"); + return (Criteria) this; + } + + public Criteria andIlineidIsNotNull() { + addCriterion("ILINEID is not null"); + return (Criteria) this; + } + + public Criteria andIlineidEqualTo(Long value) { + addCriterion("ILINEID =", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidNotEqualTo(Short value) { + addCriterion("ILINEID <>", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidGreaterThan(Long value) { + addCriterion("ILINEID >", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidGreaterThanOrEqualTo(Short value) { + addCriterion("ILINEID >=", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidLessThan(Long value) { + addCriterion("ILINEID <", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidLessThanOrEqualTo(Long value) { + addCriterion("ILINEID <=", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidIn(List values) { + addCriterion("ILINEID in", values, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidNotIn(List values) { + addCriterion("ILINEID not in", values, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidBetween(Long value1, Long value2) { + addCriterion("ILINEID between", value1, value2, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidNotBetween(Long value1, Long value2) { + addCriterion("ILINEID not between", value1, value2, "ilineid"); + return (Criteria) this; + } + + public Criteria andVcPriceNoIsNull() { + addCriterion("VC_PRICE_NO is null"); + return (Criteria) this; + } + + public Criteria andVcPriceNoIsNotNull() { + addCriterion("VC_PRICE_NO is not null"); + return (Criteria) this; + } + + public Criteria andVcPriceNoEqualTo(String value) { + addCriterion("VC_PRICE_NO =", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoNotEqualTo(String value) { + addCriterion("VC_PRICE_NO <>", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoGreaterThan(String value) { + addCriterion("VC_PRICE_NO >", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoGreaterThanOrEqualTo(String value) { + addCriterion("VC_PRICE_NO >=", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoLessThan(String value) { + addCriterion("VC_PRICE_NO <", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoLessThanOrEqualTo(String value) { + addCriterion("VC_PRICE_NO <=", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoLike(String value) { + addCriterion("VC_PRICE_NO like", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoNotLike(String value) { + addCriterion("VC_PRICE_NO not like", value, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoIn(List values) { + addCriterion("VC_PRICE_NO in", values, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoNotIn(List values) { + addCriterion("VC_PRICE_NO not in", values, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoBetween(String value1, String value2) { + addCriterion("VC_PRICE_NO between", value1, value2, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcPriceNoNotBetween(String value1, String value2) { + addCriterion("VC_PRICE_NO not between", value1, value2, "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andNStatusIsNull() { + addCriterion("N_STATUS is null"); + return (Criteria) this; + } + + public Criteria andNStatusIsNotNull() { + addCriterion("N_STATUS is not null"); + return (Criteria) this; + } + + public Criteria andNStatusEqualTo(Short value) { + addCriterion("N_STATUS =", value, "nStatus"); + return (Criteria) this; + } + + public Criteria andNStatusNotEqualTo(Short value) { + addCriterion("N_STATUS <>", value, "nStatus"); + return (Criteria) this; + } + + public Criteria andNStatusGreaterThan(Short value) { + addCriterion("N_STATUS >", value, "nStatus"); + return (Criteria) this; + } + + public Criteria andNStatusGreaterThanOrEqualTo(Short value) { + addCriterion("N_STATUS >=", value, "nStatus"); + return (Criteria) this; + } + + public Criteria andNStatusLessThan(Short value) { + addCriterion("N_STATUS <", value, "nStatus"); + return (Criteria) this; + } + + public Criteria andNStatusLessThanOrEqualTo(Short value) { + addCriterion("N_STATUS <=", value, "nStatus"); + return (Criteria) this; + } + + public Criteria andNStatusIn(List values) { + addCriterion("N_STATUS in", values, "nStatus"); + return (Criteria) this; + } + + public Criteria andNStatusNotIn(List values) { + addCriterion("N_STATUS not in", values, "nStatus"); + return (Criteria) this; + } + + public Criteria andNStatusBetween(Short value1, Short value2) { + addCriterion("N_STATUS between", value1, value2, "nStatus"); + return (Criteria) this; + } + + public Criteria andNStatusNotBetween(Short value1, Short value2) { + addCriterion("N_STATUS not between", value1, value2, "nStatus"); + return (Criteria) this; + } + + public Criteria andDtApproveIsNull() { + addCriterion("DT_APPROVE is null"); + return (Criteria) this; + } + + public Criteria andDtApproveIsNotNull() { + addCriterion("DT_APPROVE is not null"); + return (Criteria) this; + } + + public Criteria andDtApproveEqualTo(Date value) { + addCriterion("DT_APPROVE =", value, "dtApprove"); + return (Criteria) this; + } + + public Criteria andDtApproveNotEqualTo(Date value) { + addCriterion("DT_APPROVE <>", value, "dtApprove"); + return (Criteria) this; + } + + public Criteria andDtApproveGreaterThan(Date value) { + addCriterion("DT_APPROVE >", value, "dtApprove"); + return (Criteria) this; + } + + public Criteria andDtApproveGreaterThanOrEqualTo(Date value) { + addCriterion("DT_APPROVE >=", value, "dtApprove"); + return (Criteria) this; + } + + public Criteria andDtApproveLessThan(Date value) { + addCriterion("DT_APPROVE <", value, "dtApprove"); + return (Criteria) this; + } + + public Criteria andDtApproveLessThanOrEqualTo(Date value) { + addCriterion("DT_APPROVE <=", value, "dtApprove"); + return (Criteria) this; + } + + public Criteria andDtApproveIn(List values) { + addCriterion("DT_APPROVE in", values, "dtApprove"); + return (Criteria) this; + } + + public Criteria andDtApproveNotIn(List values) { + addCriterion("DT_APPROVE not in", values, "dtApprove"); + return (Criteria) this; + } + + public Criteria andDtApproveBetween(Date value1, Date value2) { + addCriterion("DT_APPROVE between", value1, value2, "dtApprove"); + return (Criteria) this; + } + + public Criteria andDtApproveNotBetween(Date value1, Date value2) { + addCriterion("DT_APPROVE not between", value1, value2, "dtApprove"); + return (Criteria) this; + } + + public Criteria andNCreateContractIsNull() { + addCriterion("N_CREATE_CONTRACT is null"); + return (Criteria) this; + } + + public Criteria andNCreateContractIsNotNull() { + addCriterion("N_CREATE_CONTRACT is not null"); + return (Criteria) this; + } + + public Criteria andNCreateContractEqualTo(Short value) { + addCriterion("N_CREATE_CONTRACT =", value, "nCreateContract"); + return (Criteria) this; + } + + public Criteria andNCreateContractNotEqualTo(Short value) { + addCriterion("N_CREATE_CONTRACT <>", value, "nCreateContract"); + return (Criteria) this; + } + + public Criteria andNCreateContractGreaterThan(Short value) { + addCriterion("N_CREATE_CONTRACT >", value, "nCreateContract"); + return (Criteria) this; + } + + public Criteria andNCreateContractGreaterThanOrEqualTo(Short value) { + addCriterion("N_CREATE_CONTRACT >=", value, "nCreateContract"); + return (Criteria) this; + } + + public Criteria andNCreateContractLessThan(Short value) { + addCriterion("N_CREATE_CONTRACT <", value, "nCreateContract"); + return (Criteria) this; + } + + public Criteria andNCreateContractLessThanOrEqualTo(Short value) { + addCriterion("N_CREATE_CONTRACT <=", value, "nCreateContract"); + return (Criteria) this; + } + + public Criteria andNCreateContractIn(List values) { + addCriterion("N_CREATE_CONTRACT in", values, "nCreateContract"); + return (Criteria) this; + } + + public Criteria andNCreateContractNotIn(List values) { + addCriterion("N_CREATE_CONTRACT not in", values, "nCreateContract"); + return (Criteria) this; + } + + public Criteria andNCreateContractBetween(Short value1, Short value2) { + addCriterion("N_CREATE_CONTRACT between", value1, value2, "nCreateContract"); + return (Criteria) this; + } + + public Criteria andNCreateContractNotBetween(Short value1, Short value2) { + addCriterion("N_CREATE_CONTRACT not between", value1, value2, "nCreateContract"); + return (Criteria) this; + } + + public Criteria andNEnableIsNull() { + addCriterion("N_ENABLE is null"); + return (Criteria) this; + } + + public Criteria andNEnableIsNotNull() { + addCriterion("N_ENABLE is not null"); + return (Criteria) this; + } + + public Criteria andNEnableEqualTo(Short value) { + addCriterion("N_ENABLE =", value, "nEnable"); + return (Criteria) this; + } + + public Criteria andNEnableNotEqualTo(Short value) { + addCriterion("N_ENABLE <>", value, "nEnable"); + return (Criteria) this; + } + + public Criteria andNEnableGreaterThan(Short value) { + addCriterion("N_ENABLE >", value, "nEnable"); + return (Criteria) this; + } + + public Criteria andNEnableGreaterThanOrEqualTo(Short value) { + addCriterion("N_ENABLE >=", value, "nEnable"); + return (Criteria) this; + } + + public Criteria andNEnableLessThan(Short value) { + addCriterion("N_ENABLE <", value, "nEnable"); + return (Criteria) this; + } + + public Criteria andNEnableLessThanOrEqualTo(Short value) { + addCriterion("N_ENABLE <=", value, "nEnable"); + return (Criteria) this; + } + + public Criteria andNEnableIn(List values) { + addCriterion("N_ENABLE in", values, "nEnable"); + return (Criteria) this; + } + + public Criteria andNEnableNotIn(List values) { + addCriterion("N_ENABLE not in", values, "nEnable"); + return (Criteria) this; + } + + public Criteria andNEnableBetween(Short value1, Short value2) { + addCriterion("N_ENABLE between", value1, value2, "nEnable"); + return (Criteria) this; + } + + public Criteria andNEnableNotBetween(Short value1, Short value2) { + addCriterion("N_ENABLE not between", value1, value2, "nEnable"); + return (Criteria) this; + } + + public Criteria andIFleetIdIsNull() { + addCriterion("I_FLEET_ID is null"); + return (Criteria) this; + } + + public Criteria andIFleetIdIsNotNull() { + addCriterion("I_FLEET_ID is not null"); + return (Criteria) this; + } + + public Criteria andIFleetIdEqualTo(Short value) { + addCriterion("I_FLEET_ID =", value, "iFleetId"); + return (Criteria) this; + } + + public Criteria andIFleetIdNotEqualTo(Short value) { + addCriterion("I_FLEET_ID <>", value, "iFleetId"); + return (Criteria) this; + } + + public Criteria andIFleetIdGreaterThan(Short value) { + addCriterion("I_FLEET_ID >", value, "iFleetId"); + return (Criteria) this; + } + + public Criteria andIFleetIdGreaterThanOrEqualTo(Short value) { + addCriterion("I_FLEET_ID >=", value, "iFleetId"); + return (Criteria) this; + } + + public Criteria andIFleetIdLessThan(Short value) { + addCriterion("I_FLEET_ID <", value, "iFleetId"); + return (Criteria) this; + } + + public Criteria andIFleetIdLessThanOrEqualTo(Short value) { + addCriterion("I_FLEET_ID <=", value, "iFleetId"); + return (Criteria) this; + } + + public Criteria andIFleetIdIn(List values) { + addCriterion("I_FLEET_ID in", values, "iFleetId"); + return (Criteria) this; + } + + public Criteria andIFleetIdNotIn(List values) { + addCriterion("I_FLEET_ID not in", values, "iFleetId"); + return (Criteria) this; + } + + public Criteria andIFleetIdBetween(Short value1, Short value2) { + addCriterion("I_FLEET_ID between", value1, value2, "iFleetId"); + return (Criteria) this; + } + + public Criteria andIFleetIdNotBetween(Short value1, Short value2) { + addCriterion("I_FLEET_ID not between", value1, value2, "iFleetId"); + return (Criteria) this; + } + + public Criteria andVcFleetNameIsNull() { + addCriterion("VC_FLEET_NAME is null"); + return (Criteria) this; + } + + public Criteria andVcFleetNameIsNotNull() { + addCriterion("VC_FLEET_NAME is not null"); + return (Criteria) this; + } + + public Criteria andVcFleetNameEqualTo(String value) { + addCriterion("VC_FLEET_NAME =", value, "vcFleetName"); + return (Criteria) this; + } + + public Criteria andVcFleetNameNotEqualTo(String value) { + addCriterion("VC_FLEET_NAME <>", value, "vcFleetName"); + return (Criteria) this; + } + + public Criteria andVcFleetNameGreaterThan(String value) { + addCriterion("VC_FLEET_NAME >", value, "vcFleetName"); + return (Criteria) this; + } + + public Criteria andVcFleetNameGreaterThanOrEqualTo(String value) { + addCriterion("VC_FLEET_NAME >=", value, "vcFleetName"); + return (Criteria) this; + } + + public Criteria andVcFleetNameLessThan(String value) { + addCriterion("VC_FLEET_NAME <", value, "vcFleetName"); + return (Criteria) this; + } + + public Criteria andVcFleetNameLessThanOrEqualTo(String value) { + addCriterion("VC_FLEET_NAME <=", value, "vcFleetName"); + return (Criteria) this; + } + + public Criteria andVcFleetNameLike(String value) { + addCriterion("VC_FLEET_NAME like", value, "vcFleetName"); + return (Criteria) this; + } + + public Criteria andVcFleetNameNotLike(String value) { + addCriterion("VC_FLEET_NAME not like", value, "vcFleetName"); + return (Criteria) this; + } + + public Criteria andVcFleetNameIn(List values) { + addCriterion("VC_FLEET_NAME in", values, "vcFleetName"); + return (Criteria) this; + } + + public Criteria andVcFleetNameNotIn(List values) { + addCriterion("VC_FLEET_NAME not in", values, "vcFleetName"); + return (Criteria) this; + } + + public Criteria andVcFleetNameBetween(String value1, String value2) { + addCriterion("VC_FLEET_NAME between", value1, value2, "vcFleetName"); + return (Criteria) this; + } + + public Criteria andVcFleetNameNotBetween(String value1, String value2) { + addCriterion("VC_FLEET_NAME not between", value1, value2, "vcFleetName"); + return (Criteria) this; + } + + public Criteria andNPayMethodeIsNull() { + addCriterion("N_PAY_METHODE is null"); + return (Criteria) this; + } + + public Criteria andNPayMethodeIsNotNull() { + addCriterion("N_PAY_METHODE is not null"); + return (Criteria) this; + } + + public Criteria andNPayMethodeEqualTo(Short value) { + addCriterion("N_PAY_METHODE =", value, "nPayMethode"); + return (Criteria) this; + } + + public Criteria andNPayMethodeNotEqualTo(Short value) { + addCriterion("N_PAY_METHODE <>", value, "nPayMethode"); + return (Criteria) this; + } + + public Criteria andNPayMethodeGreaterThan(Short value) { + addCriterion("N_PAY_METHODE >", value, "nPayMethode"); + return (Criteria) this; + } + + public Criteria andNPayMethodeGreaterThanOrEqualTo(Short value) { + addCriterion("N_PAY_METHODE >=", value, "nPayMethode"); + return (Criteria) this; + } + + public Criteria andNPayMethodeLessThan(Short value) { + addCriterion("N_PAY_METHODE <", value, "nPayMethode"); + return (Criteria) this; + } + + public Criteria andNPayMethodeLessThanOrEqualTo(Short value) { + addCriterion("N_PAY_METHODE <=", value, "nPayMethode"); + return (Criteria) this; + } + + public Criteria andNPayMethodeIn(List values) { + addCriterion("N_PAY_METHODE in", values, "nPayMethode"); + return (Criteria) this; + } + + public Criteria andNPayMethodeNotIn(List values) { + addCriterion("N_PAY_METHODE not in", values, "nPayMethode"); + return (Criteria) this; + } + + public Criteria andNPayMethodeBetween(Short value1, Short value2) { + addCriterion("N_PAY_METHODE between", value1, value2, "nPayMethode"); + return (Criteria) this; + } + + public Criteria andNPayMethodeNotBetween(Short value1, Short value2) { + addCriterion("N_PAY_METHODE not between", value1, value2, "nPayMethode"); + return (Criteria) this; + } + + public Criteria andNPaymentDaysIsNull() { + addCriterion("N_PAYMENT_DAYS is null"); + return (Criteria) this; + } + + public Criteria andNPaymentDaysIsNotNull() { + addCriterion("N_PAYMENT_DAYS is not null"); + return (Criteria) this; + } + + public Criteria andNPaymentDaysEqualTo(Short value) { + addCriterion("N_PAYMENT_DAYS =", value, "nPaymentDays"); + return (Criteria) this; + } + + public Criteria andNPaymentDaysNotEqualTo(Short value) { + addCriterion("N_PAYMENT_DAYS <>", value, "nPaymentDays"); + return (Criteria) this; + } + + public Criteria andNPaymentDaysGreaterThan(Short value) { + addCriterion("N_PAYMENT_DAYS >", value, "nPaymentDays"); + return (Criteria) this; + } + + public Criteria andNPaymentDaysGreaterThanOrEqualTo(Short value) { + addCriterion("N_PAYMENT_DAYS >=", value, "nPaymentDays"); + return (Criteria) this; + } + + public Criteria andNPaymentDaysLessThan(Short value) { + addCriterion("N_PAYMENT_DAYS <", value, "nPaymentDays"); + return (Criteria) this; + } + + public Criteria andNPaymentDaysLessThanOrEqualTo(Short value) { + addCriterion("N_PAYMENT_DAYS <=", value, "nPaymentDays"); + return (Criteria) this; + } + + public Criteria andNPaymentDaysIn(List values) { + addCriterion("N_PAYMENT_DAYS in", values, "nPaymentDays"); + return (Criteria) this; + } + + public Criteria andNPaymentDaysNotIn(List values) { + addCriterion("N_PAYMENT_DAYS not in", values, "nPaymentDays"); + return (Criteria) this; + } + + public Criteria andNPaymentDaysBetween(Short value1, Short value2) { + addCriterion("N_PAYMENT_DAYS between", value1, value2, "nPaymentDays"); + return (Criteria) this; + } + + public Criteria andNPaymentDaysNotBetween(Short value1, Short value2) { + addCriterion("N_PAYMENT_DAYS not between", value1, value2, "nPaymentDays"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteIsNull() { + addCriterion("VC_OTHER_NOTE is null"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteIsNotNull() { + addCriterion("VC_OTHER_NOTE is not null"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteEqualTo(String value) { + addCriterion("VC_OTHER_NOTE =", value, "vcOtherNote"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteNotEqualTo(String value) { + addCriterion("VC_OTHER_NOTE <>", value, "vcOtherNote"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteGreaterThan(String value) { + addCriterion("VC_OTHER_NOTE >", value, "vcOtherNote"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteGreaterThanOrEqualTo(String value) { + addCriterion("VC_OTHER_NOTE >=", value, "vcOtherNote"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteLessThan(String value) { + addCriterion("VC_OTHER_NOTE <", value, "vcOtherNote"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteLessThanOrEqualTo(String value) { + addCriterion("VC_OTHER_NOTE <=", value, "vcOtherNote"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteLike(String value) { + addCriterion("VC_OTHER_NOTE like", value, "vcOtherNote"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteNotLike(String value) { + addCriterion("VC_OTHER_NOTE not like", value, "vcOtherNote"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteIn(List values) { + addCriterion("VC_OTHER_NOTE in", values, "vcOtherNote"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteNotIn(List values) { + addCriterion("VC_OTHER_NOTE not in", values, "vcOtherNote"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteBetween(String value1, String value2) { + addCriterion("VC_OTHER_NOTE between", value1, value2, "vcOtherNote"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteNotBetween(String value1, String value2) { + addCriterion("VC_OTHER_NOTE not between", value1, value2, "vcOtherNote"); + return (Criteria) this; + } + + public Criteria andNOtherIsNull() { + addCriterion("N_OTHER is null"); + return (Criteria) this; + } + + public Criteria andNOtherIsNotNull() { + addCriterion("N_OTHER is not null"); + return (Criteria) this; + } + + public Criteria andNOtherEqualTo(Short value) { + addCriterion("N_OTHER =", value, "nOther"); + return (Criteria) this; + } + + public Criteria andNOtherNotEqualTo(Short value) { + addCriterion("N_OTHER <>", value, "nOther"); + return (Criteria) this; + } + + public Criteria andNOtherGreaterThan(Short value) { + addCriterion("N_OTHER >", value, "nOther"); + return (Criteria) this; + } + + public Criteria andNOtherGreaterThanOrEqualTo(Short value) { + addCriterion("N_OTHER >=", value, "nOther"); + return (Criteria) this; + } + + public Criteria andNOtherLessThan(Short value) { + addCriterion("N_OTHER <", value, "nOther"); + return (Criteria) this; + } + + public Criteria andNOtherLessThanOrEqualTo(Short value) { + addCriterion("N_OTHER <=", value, "nOther"); + return (Criteria) this; + } + + public Criteria andNOtherIn(List values) { + addCriterion("N_OTHER in", values, "nOther"); + return (Criteria) this; + } + + public Criteria andNOtherNotIn(List values) { + addCriterion("N_OTHER not in", values, "nOther"); + return (Criteria) this; + } + + public Criteria andNOtherBetween(Short value1, Short value2) { + addCriterion("N_OTHER between", value1, value2, "nOther"); + return (Criteria) this; + } + + public Criteria andNOtherNotBetween(Short value1, Short value2) { + addCriterion("N_OTHER not between", value1, value2, "nOther"); + return (Criteria) this; + } + + public Criteria andNLevelIsNull() { + addCriterion("N_LEVEL is null"); + return (Criteria) this; + } + + public Criteria andNLevelIsNotNull() { + addCriterion("N_LEVEL is not null"); + return (Criteria) this; + } + + public Criteria andNLevelEqualTo(Short value) { + addCriterion("N_LEVEL =", value, "nLevel"); + return (Criteria) this; + } + + public Criteria andNLevelNotEqualTo(Short value) { + addCriterion("N_LEVEL <>", value, "nLevel"); + return (Criteria) this; + } + + public Criteria andNLevelGreaterThan(Short value) { + addCriterion("N_LEVEL >", value, "nLevel"); + return (Criteria) this; + } + + public Criteria andNLevelGreaterThanOrEqualTo(Short value) { + addCriterion("N_LEVEL >=", value, "nLevel"); + return (Criteria) this; + } + + public Criteria andNLevelLessThan(Short value) { + addCriterion("N_LEVEL <", value, "nLevel"); + return (Criteria) this; + } + + public Criteria andNLevelLessThanOrEqualTo(Short value) { + addCriterion("N_LEVEL <=", value, "nLevel"); + return (Criteria) this; + } + + public Criteria andNLevelIn(List values) { + addCriterion("N_LEVEL in", values, "nLevel"); + return (Criteria) this; + } + + public Criteria andNLevelNotIn(List values) { + addCriterion("N_LEVEL not in", values, "nLevel"); + return (Criteria) this; + } + + public Criteria andNLevelBetween(Short value1, Short value2) { + addCriterion("N_LEVEL between", value1, value2, "nLevel"); + return (Criteria) this; + } + + public Criteria andNLevelNotBetween(Short value1, Short value2) { + addCriterion("N_LEVEL not between", value1, value2, "nLevel"); + return (Criteria) this; + } + + public Criteria andDtDeadllineIsNull() { + addCriterion("DT_DEADLLINE is null"); + return (Criteria) this; + } + + public Criteria andDtDeadllineIsNotNull() { + addCriterion("DT_DEADLLINE is not null"); + return (Criteria) this; + } + + public Criteria andDtDeadllineEqualTo(Date value) { + addCriterion("DT_DEADLLINE =", value, "dtDeadlline"); + return (Criteria) this; + } + + public Criteria andDtDeadllineNotEqualTo(Date value) { + addCriterion("DT_DEADLLINE <>", value, "dtDeadlline"); + return (Criteria) this; + } + + public Criteria andDtDeadllineGreaterThan(Date value) { + addCriterion("DT_DEADLLINE >", value, "dtDeadlline"); + return (Criteria) this; + } + + public Criteria andDtDeadllineGreaterThanOrEqualTo(Date value) { + addCriterion("DT_DEADLLINE >=", value, "dtDeadlline"); + return (Criteria) this; + } + + public Criteria andDtDeadllineLessThan(Date value) { + addCriterion("DT_DEADLLINE <", value, "dtDeadlline"); + return (Criteria) this; + } + + public Criteria andDtDeadllineLessThanOrEqualTo(Date value) { + addCriterion("DT_DEADLLINE <=", value, "dtDeadlline"); + return (Criteria) this; + } + + public Criteria andDtDeadllineIn(List values) { + addCriterion("DT_DEADLLINE in", values, "dtDeadlline"); + return (Criteria) this; + } + + public Criteria andDtDeadllineNotIn(List values) { + addCriterion("DT_DEADLLINE not in", values, "dtDeadlline"); + return (Criteria) this; + } + + public Criteria andDtDeadllineBetween(Date value1, Date value2) { + addCriterion("DT_DEADLLINE between", value1, value2, "dtDeadlline"); + return (Criteria) this; + } + + public Criteria andDtDeadllineNotBetween(Date value1, Date value2) { + addCriterion("DT_DEADLLINE not between", value1, value2, "dtDeadlline"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoIsNull() { + addCriterion("VC_ADD_USERNO is null"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoIsNotNull() { + addCriterion("VC_ADD_USERNO is not null"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoEqualTo(String value) { + addCriterion("VC_ADD_USERNO =", value, "vcAddUserno"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoNotEqualTo(String value) { + addCriterion("VC_ADD_USERNO <>", value, "vcAddUserno"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoGreaterThan(String value) { + addCriterion("VC_ADD_USERNO >", value, "vcAddUserno"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoGreaterThanOrEqualTo(String value) { + addCriterion("VC_ADD_USERNO >=", value, "vcAddUserno"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoLessThan(String value) { + addCriterion("VC_ADD_USERNO <", value, "vcAddUserno"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoLessThanOrEqualTo(String value) { + addCriterion("VC_ADD_USERNO <=", value, "vcAddUserno"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoLike(String value) { + addCriterion("VC_ADD_USERNO like", value, "vcAddUserno"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoNotLike(String value) { + addCriterion("VC_ADD_USERNO not like", value, "vcAddUserno"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoIn(List values) { + addCriterion("VC_ADD_USERNO in", values, "vcAddUserno"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoNotIn(List values) { + addCriterion("VC_ADD_USERNO not in", values, "vcAddUserno"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoBetween(String value1, String value2) { + addCriterion("VC_ADD_USERNO between", value1, value2, "vcAddUserno"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoNotBetween(String value1, String value2) { + addCriterion("VC_ADD_USERNO not between", value1, value2, "vcAddUserno"); + return (Criteria) this; + } + + public Criteria andNAddIsNull() { + addCriterion("N_ADD is null"); + return (Criteria) this; + } + + public Criteria andNAddIsNotNull() { + addCriterion("N_ADD is not null"); + return (Criteria) this; + } + + public Criteria andNAddEqualTo(Short value) { + addCriterion("N_ADD =", value, "nAdd"); + return (Criteria) this; + } + + public Criteria andNAddNotEqualTo(Short value) { + addCriterion("N_ADD <>", value, "nAdd"); + return (Criteria) this; + } + + public Criteria andNAddGreaterThan(Short value) { + addCriterion("N_ADD >", value, "nAdd"); + return (Criteria) this; + } + + public Criteria andNAddGreaterThanOrEqualTo(Short value) { + addCriterion("N_ADD >=", value, "nAdd"); + return (Criteria) this; + } + + public Criteria andNAddLessThan(Short value) { + addCriterion("N_ADD <", value, "nAdd"); + return (Criteria) this; + } + + public Criteria andNAddLessThanOrEqualTo(Short value) { + addCriterion("N_ADD <=", value, "nAdd"); + return (Criteria) this; + } + + public Criteria andNAddIn(List values) { + addCriterion("N_ADD in", values, "nAdd"); + return (Criteria) this; + } + + public Criteria andNAddNotIn(List values) { + addCriterion("N_ADD not in", values, "nAdd"); + return (Criteria) this; + } + + public Criteria andNAddBetween(Short value1, Short value2) { + addCriterion("N_ADD between", value1, value2, "nAdd"); + return (Criteria) this; + } + + public Criteria andNAddNotBetween(Short value1, Short value2) { + addCriterion("N_ADD not between", value1, value2, "nAdd"); + return (Criteria) this; + } + + public Criteria andDtAddIsNull() { + addCriterion("DT_ADD is null"); + return (Criteria) this; + } + + public Criteria andDtAddIsNotNull() { + addCriterion("DT_ADD is not null"); + return (Criteria) this; + } + + public Criteria andDtAddEqualTo(Date value) { + addCriterion("DT_ADD =", value, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddNotEqualTo(Date value) { + addCriterion("DT_ADD <>", value, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddGreaterThan(Date value) { + addCriterion("DT_ADD >", value, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddGreaterThanOrEqualTo(Date value) { + addCriterion("DT_ADD >=", value, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddLessThan(Date value) { + addCriterion("DT_ADD <", value, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddLessThanOrEqualTo(Date value) { + addCriterion("DT_ADD <=", value, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddIn(List values) { + addCriterion("DT_ADD in", values, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddNotIn(List values) { + addCriterion("DT_ADD not in", values, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddBetween(Date value1, Date value2) { + addCriterion("DT_ADD between", value1, value2, "dtAdd"); + return (Criteria) this; + } + + public Criteria andDtAddNotBetween(Date value1, Date value2) { + addCriterion("DT_ADD not between", value1, value2, "dtAdd"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoIsNull() { + addCriterion("VC_CREATE_USERNO is null"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoIsNotNull() { + addCriterion("VC_CREATE_USERNO is not null"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoEqualTo(String value) { + addCriterion("VC_CREATE_USERNO =", value, "vcCreateUserno"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoNotEqualTo(String value) { + addCriterion("VC_CREATE_USERNO <>", value, "vcCreateUserno"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoGreaterThan(String value) { + addCriterion("VC_CREATE_USERNO >", value, "vcCreateUserno"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoGreaterThanOrEqualTo(String value) { + addCriterion("VC_CREATE_USERNO >=", value, "vcCreateUserno"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoLessThan(String value) { + addCriterion("VC_CREATE_USERNO <", value, "vcCreateUserno"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoLessThanOrEqualTo(String value) { + addCriterion("VC_CREATE_USERNO <=", value, "vcCreateUserno"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoLike(String value) { + addCriterion("VC_CREATE_USERNO like", value, "vcCreateUserno"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoNotLike(String value) { + addCriterion("VC_CREATE_USERNO not like", value, "vcCreateUserno"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoIn(List values) { + addCriterion("VC_CREATE_USERNO in", values, "vcCreateUserno"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoNotIn(List values) { + addCriterion("VC_CREATE_USERNO not in", values, "vcCreateUserno"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoBetween(String value1, String value2) { + addCriterion("VC_CREATE_USERNO between", value1, value2, "vcCreateUserno"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoNotBetween(String value1, String value2) { + addCriterion("VC_CREATE_USERNO not between", value1, value2, "vcCreateUserno"); + return (Criteria) this; + } + + public Criteria andDtCreateIsNull() { + addCriterion("DT_CREATE is null"); + return (Criteria) this; + } + + public Criteria andDtCreateIsNotNull() { + addCriterion("DT_CREATE is not null"); + return (Criteria) this; + } + + public Criteria andDtCreateEqualTo(Date value) { + addCriterion("DT_CREATE =", value, "dtCreate"); + return (Criteria) this; + } + + public Criteria andDtCreateNotEqualTo(Date value) { + addCriterion("DT_CREATE <>", value, "dtCreate"); + return (Criteria) this; + } + + public Criteria andDtCreateGreaterThan(Date value) { + addCriterion("DT_CREATE >", value, "dtCreate"); + return (Criteria) this; + } + + public Criteria andDtCreateGreaterThanOrEqualTo(Date value) { + addCriterion("DT_CREATE >=", value, "dtCreate"); + return (Criteria) this; + } + + public Criteria andDtCreateLessThan(Date value) { + addCriterion("DT_CREATE <", value, "dtCreate"); + return (Criteria) this; + } + + public Criteria andDtCreateLessThanOrEqualTo(Date value) { + addCriterion("DT_CREATE <=", value, "dtCreate"); + return (Criteria) this; + } + + public Criteria andDtCreateIn(List values) { + addCriterion("DT_CREATE in", values, "dtCreate"); + return (Criteria) this; + } + + public Criteria andDtCreateNotIn(List values) { + addCriterion("DT_CREATE not in", values, "dtCreate"); + return (Criteria) this; + } + + public Criteria andDtCreateBetween(Date value1, Date value2) { + addCriterion("DT_CREATE between", value1, value2, "dtCreate"); + return (Criteria) this; + } + + public Criteria andDtCreateNotBetween(Date value1, Date value2) { + addCriterion("DT_CREATE not between", value1, value2, "dtCreate"); + return (Criteria) this; + } + + public Criteria andNStandardPriceIsNull() { + addCriterion("N_STANDARD_PRICE is null"); + return (Criteria) this; + } + + public Criteria andNStandardPriceIsNotNull() { + addCriterion("N_STANDARD_PRICE is not null"); + return (Criteria) this; + } + + public Criteria andNStandardPriceEqualTo(Short value) { + addCriterion("N_STANDARD_PRICE =", value, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceNotEqualTo(Short value) { + addCriterion("N_STANDARD_PRICE <>", value, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceGreaterThan(Short value) { + addCriterion("N_STANDARD_PRICE >", value, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceGreaterThanOrEqualTo(Short value) { + addCriterion("N_STANDARD_PRICE >=", value, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceLessThan(Short value) { + addCriterion("N_STANDARD_PRICE <", value, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceLessThanOrEqualTo(Short value) { + addCriterion("N_STANDARD_PRICE <=", value, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceIn(List values) { + addCriterion("N_STANDARD_PRICE in", values, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceNotIn(List values) { + addCriterion("N_STANDARD_PRICE not in", values, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceBetween(Short value1, Short value2) { + addCriterion("N_STANDARD_PRICE between", value1, value2, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNStandardPriceNotBetween(Short value1, Short value2) { + addCriterion("N_STANDARD_PRICE not between", value1, value2, "nStandardPrice"); + return (Criteria) this; + } + + public Criteria andNPriceIsNull() { + addCriterion("N_PRICE is null"); + return (Criteria) this; + } + + public Criteria andNPriceIsNotNull() { + addCriterion("N_PRICE is not null"); + return (Criteria) this; + } + + public Criteria andNPriceEqualTo(Short value) { + addCriterion("N_PRICE =", value, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceNotEqualTo(Short value) { + addCriterion("N_PRICE <>", value, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceGreaterThan(Short value) { + addCriterion("N_PRICE >", value, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceGreaterThanOrEqualTo(Short value) { + addCriterion("N_PRICE >=", value, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceLessThan(Short value) { + addCriterion("N_PRICE <", value, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceLessThanOrEqualTo(Short value) { + addCriterion("N_PRICE <=", value, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceIn(List values) { + addCriterion("N_PRICE in", values, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceNotIn(List values) { + addCriterion("N_PRICE not in", values, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceBetween(Short value1, Short value2) { + addCriterion("N_PRICE between", value1, value2, "nPrice"); + return (Criteria) this; + } + + public Criteria andNPriceNotBetween(Short value1, Short value2) { + addCriterion("N_PRICE not between", value1, value2, "nPrice"); + return (Criteria) this; + } + + public Criteria andVcApproverIsNull() { + addCriterion("VC_APPROVER is null"); + return (Criteria) this; + } + + public Criteria andVcApproverIsNotNull() { + addCriterion("VC_APPROVER is not null"); + return (Criteria) this; + } + + public Criteria andVcApproverEqualTo(String value) { + addCriterion("VC_APPROVER =", value, "vcApprover"); + return (Criteria) this; + } + + public Criteria andVcApproverNotEqualTo(String value) { + addCriterion("VC_APPROVER <>", value, "vcApprover"); + return (Criteria) this; + } + + public Criteria andVcApproverGreaterThan(String value) { + addCriterion("VC_APPROVER >", value, "vcApprover"); + return (Criteria) this; + } + + public Criteria andVcApproverGreaterThanOrEqualTo(String value) { + addCriterion("VC_APPROVER >=", value, "vcApprover"); + return (Criteria) this; + } + + public Criteria andVcApproverLessThan(String value) { + addCriterion("VC_APPROVER <", value, "vcApprover"); + return (Criteria) this; + } + + public Criteria andVcApproverLessThanOrEqualTo(String value) { + addCriterion("VC_APPROVER <=", value, "vcApprover"); + return (Criteria) this; + } + + public Criteria andVcApproverLike(String value) { + addCriterion("VC_APPROVER like", value, "vcApprover"); + return (Criteria) this; + } + + public Criteria andVcApproverNotLike(String value) { + addCriterion("VC_APPROVER not like", value, "vcApprover"); + return (Criteria) this; + } + + public Criteria andVcApproverIn(List values) { + addCriterion("VC_APPROVER in", values, "vcApprover"); + return (Criteria) this; + } + + public Criteria andVcApproverNotIn(List values) { + addCriterion("VC_APPROVER not in", values, "vcApprover"); + return (Criteria) this; + } + + public Criteria andVcApproverBetween(String value1, String value2) { + addCriterion("VC_APPROVER between", value1, value2, "vcApprover"); + return (Criteria) this; + } + + public Criteria andVcApproverNotBetween(String value1, String value2) { + addCriterion("VC_APPROVER not between", value1, value2, "vcApprover"); + return (Criteria) this; + } + + public Criteria andNRatioIsNull() { + addCriterion("N_RATIO is null"); + return (Criteria) this; + } + + public Criteria andNRatioIsNotNull() { + addCriterion("N_RATIO is not null"); + return (Criteria) this; + } + + public Criteria andNRatioEqualTo(Short value) { + addCriterion("N_RATIO =", value, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioNotEqualTo(Short value) { + addCriterion("N_RATIO <>", value, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioGreaterThan(Short value) { + addCriterion("N_RATIO >", value, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioGreaterThanOrEqualTo(Short value) { + addCriterion("N_RATIO >=", value, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioLessThan(Short value) { + addCriterion("N_RATIO <", value, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioLessThanOrEqualTo(Short value) { + addCriterion("N_RATIO <=", value, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioIn(List values) { + addCriterion("N_RATIO in", values, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioNotIn(List values) { + addCriterion("N_RATIO not in", values, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioBetween(Short value1, Short value2) { + addCriterion("N_RATIO between", value1, value2, "nRatio"); + return (Criteria) this; + } + + public Criteria andNRatioNotBetween(Short value1, Short value2) { + addCriterion("N_RATIO not between", value1, value2, "nRatio"); + return (Criteria) this; + } + + public Criteria andVcAllApproversIsNull() { + addCriterion("VC_ALL_APPROVERS is null"); + return (Criteria) this; + } + + public Criteria andVcAllApproversIsNotNull() { + addCriterion("VC_ALL_APPROVERS is not null"); + return (Criteria) this; + } + + public Criteria andVcAllApproversEqualTo(String value) { + addCriterion("VC_ALL_APPROVERS =", value, "vcAllApprovers"); + return (Criteria) this; + } + + public Criteria andVcAllApproversNotEqualTo(String value) { + addCriterion("VC_ALL_APPROVERS <>", value, "vcAllApprovers"); + return (Criteria) this; + } + + public Criteria andVcAllApproversGreaterThan(String value) { + addCriterion("VC_ALL_APPROVERS >", value, "vcAllApprovers"); + return (Criteria) this; + } + + public Criteria andVcAllApproversGreaterThanOrEqualTo(String value) { + addCriterion("VC_ALL_APPROVERS >=", value, "vcAllApprovers"); + return (Criteria) this; + } + + public Criteria andVcAllApproversLessThan(String value) { + addCriterion("VC_ALL_APPROVERS <", value, "vcAllApprovers"); + return (Criteria) this; + } + + public Criteria andVcAllApproversLessThanOrEqualTo(String value) { + addCriterion("VC_ALL_APPROVERS <=", value, "vcAllApprovers"); + return (Criteria) this; + } + + public Criteria andVcAllApproversLike(String value) { + addCriterion("VC_ALL_APPROVERS like", value, "vcAllApprovers"); + return (Criteria) this; + } + + public Criteria andVcAllApproversNotLike(String value) { + addCriterion("VC_ALL_APPROVERS not like", value, "vcAllApprovers"); + return (Criteria) this; + } + + public Criteria andVcAllApproversIn(List values) { + addCriterion("VC_ALL_APPROVERS in", values, "vcAllApprovers"); + return (Criteria) this; + } + + public Criteria andVcAllApproversNotIn(List values) { + addCriterion("VC_ALL_APPROVERS not in", values, "vcAllApprovers"); + return (Criteria) this; + } + + public Criteria andVcAllApproversBetween(String value1, String value2) { + addCriterion("VC_ALL_APPROVERS between", value1, value2, "vcAllApprovers"); + return (Criteria) this; + } + + public Criteria andVcAllApproversNotBetween(String value1, String value2) { + addCriterion("VC_ALL_APPROVERS not between", value1, value2, "vcAllApprovers"); + return (Criteria) this; + } + + public Criteria andNIndexIsNull() { + addCriterion("N_INDEX is null"); + return (Criteria) this; + } + + public Criteria andNIndexIsNotNull() { + addCriterion("N_INDEX is not null"); + return (Criteria) this; + } + + public Criteria andNIndexEqualTo(Short value) { + addCriterion("N_INDEX =", value, "nIndex"); + return (Criteria) this; + } + + public Criteria andNIndexNotEqualTo(Short value) { + addCriterion("N_INDEX <>", value, "nIndex"); + return (Criteria) this; + } + + public Criteria andNIndexGreaterThan(Short value) { + addCriterion("N_INDEX >", value, "nIndex"); + return (Criteria) this; + } + + public Criteria andNIndexGreaterThanOrEqualTo(Short value) { + addCriterion("N_INDEX >=", value, "nIndex"); + return (Criteria) this; + } + + public Criteria andNIndexLessThan(Short value) { + addCriterion("N_INDEX <", value, "nIndex"); + return (Criteria) this; + } + + public Criteria andNIndexLessThanOrEqualTo(Short value) { + addCriterion("N_INDEX <=", value, "nIndex"); + return (Criteria) this; + } + + public Criteria andNIndexIn(List values) { + addCriterion("N_INDEX in", values, "nIndex"); + return (Criteria) this; + } + + public Criteria andNIndexNotIn(List values) { + addCriterion("N_INDEX not in", values, "nIndex"); + return (Criteria) this; + } + + public Criteria andNIndexBetween(Short value1, Short value2) { + addCriterion("N_INDEX between", value1, value2, "nIndex"); + return (Criteria) this; + } + + public Criteria andNIndexNotBetween(Short value1, Short value2) { + addCriterion("N_INDEX not between", value1, value2, "nIndex"); + return (Criteria) this; + } + + public Criteria andNJsstandardPriceIsNull() { + addCriterion("N_JSSTANDARD_PRICE is null"); + return (Criteria) this; + } + + public Criteria andNJsstandardPriceIsNotNull() { + addCriterion("N_JSSTANDARD_PRICE is not null"); + return (Criteria) this; + } + + public Criteria andNJsstandardPriceEqualTo(Short value) { + addCriterion("N_JSSTANDARD_PRICE =", value, "nJsstandardPrice"); + return (Criteria) this; + } + + public Criteria andNJsstandardPriceNotEqualTo(Short value) { + addCriterion("N_JSSTANDARD_PRICE <>", value, "nJsstandardPrice"); + return (Criteria) this; + } + + public Criteria andNJsstandardPriceGreaterThan(Short value) { + addCriterion("N_JSSTANDARD_PRICE >", value, "nJsstandardPrice"); + return (Criteria) this; + } + + public Criteria andNJsstandardPriceGreaterThanOrEqualTo(Short value) { + addCriterion("N_JSSTANDARD_PRICE >=", value, "nJsstandardPrice"); + return (Criteria) this; + } + + public Criteria andNJsstandardPriceLessThan(Short value) { + addCriterion("N_JSSTANDARD_PRICE <", value, "nJsstandardPrice"); + return (Criteria) this; + } + + public Criteria andNJsstandardPriceLessThanOrEqualTo(Short value) { + addCriterion("N_JSSTANDARD_PRICE <=", value, "nJsstandardPrice"); + return (Criteria) this; + } + + public Criteria andNJsstandardPriceIn(List values) { + addCriterion("N_JSSTANDARD_PRICE in", values, "nJsstandardPrice"); + return (Criteria) this; + } + + public Criteria andNJsstandardPriceNotIn(List values) { + addCriterion("N_JSSTANDARD_PRICE not in", values, "nJsstandardPrice"); + return (Criteria) this; + } + + public Criteria andNJsstandardPriceBetween(Short value1, Short value2) { + addCriterion("N_JSSTANDARD_PRICE between", value1, value2, "nJsstandardPrice"); + return (Criteria) this; + } + + public Criteria andNJsstandardPriceNotBetween(Short value1, Short value2) { + addCriterion("N_JSSTANDARD_PRICE not between", value1, value2, "nJsstandardPrice"); + return (Criteria) this; + } + + public Criteria andVcremarkIsNull() { + addCriterion("VCREMARK is null"); + return (Criteria) this; + } + + public Criteria andVcremarkIsNotNull() { + addCriterion("VCREMARK is not null"); + return (Criteria) this; + } + + public Criteria andVcremarkEqualTo(String value) { + addCriterion("VCREMARK =", value, "vcremark"); + return (Criteria) this; + } + + public Criteria andVcremarkNotEqualTo(String value) { + addCriterion("VCREMARK <>", value, "vcremark"); + return (Criteria) this; + } + + public Criteria andVcremarkGreaterThan(String value) { + addCriterion("VCREMARK >", value, "vcremark"); + return (Criteria) this; + } + + public Criteria andVcremarkGreaterThanOrEqualTo(String value) { + addCriterion("VCREMARK >=", value, "vcremark"); + return (Criteria) this; + } + + public Criteria andVcremarkLessThan(String value) { + addCriterion("VCREMARK <", value, "vcremark"); + return (Criteria) this; + } + + public Criteria andVcremarkLessThanOrEqualTo(String value) { + addCriterion("VCREMARK <=", value, "vcremark"); + return (Criteria) this; + } + + public Criteria andVcremarkLike(String value) { + addCriterion("VCREMARK like", value, "vcremark"); + return (Criteria) this; + } + + public Criteria andVcremarkNotLike(String value) { + addCriterion("VCREMARK not like", value, "vcremark"); + return (Criteria) this; + } + + public Criteria andVcremarkIn(List values) { + addCriterion("VCREMARK in", values, "vcremark"); + return (Criteria) this; + } + + public Criteria andVcremarkNotIn(List values) { + addCriterion("VCREMARK not in", values, "vcremark"); + return (Criteria) this; + } + + public Criteria andVcremarkBetween(String value1, String value2) { + addCriterion("VCREMARK between", value1, value2, "vcremark"); + return (Criteria) this; + } + + public Criteria andVcremarkNotBetween(String value1, String value2) { + addCriterion("VCREMARK not between", value1, value2, "vcremark"); + return (Criteria) this; + } + + public Criteria andVcPriceNoLikeInsensitive(String value) { + addCriterion("upper(VC_PRICE_NO) like", value.toUpperCase(), "vcPriceNo"); + return (Criteria) this; + } + + public Criteria andVcFleetNameLikeInsensitive(String value) { + addCriterion("upper(VC_FLEET_NAME) like", value.toUpperCase(), "vcFleetName"); + return (Criteria) this; + } + + public Criteria andVcOtherNoteLikeInsensitive(String value) { + addCriterion("upper(VC_OTHER_NOTE) like", value.toUpperCase(), "vcOtherNote"); + return (Criteria) this; + } + + public Criteria andVcAddUsernoLikeInsensitive(String value) { + addCriterion("upper(VC_ADD_USERNO) like", value.toUpperCase(), "vcAddUserno"); + return (Criteria) this; + } + + public Criteria andVcCreateUsernoLikeInsensitive(String value) { + addCriterion("upper(VC_CREATE_USERNO) like", value.toUpperCase(), "vcCreateUserno"); + return (Criteria) this; + } + + public Criteria andVcApproverLikeInsensitive(String value) { + addCriterion("upper(VC_APPROVER) like", value.toUpperCase(), "vcApprover"); + return (Criteria) this; + } + + public Criteria andVcAllApproversLikeInsensitive(String value) { + addCriterion("upper(VC_ALL_APPROVERS) like", value.toUpperCase(), "vcAllApprovers"); + return (Criteria) this; + } + + public Criteria andVcremarkLikeInsensitive(String value) { + addCriterion("upper(VCREMARK) like", value.toUpperCase(), "vcremark"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated do_not_delete_during_merge Wed Jun 13 16:29:58 CST 2018 + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table T_PRICE_SHEET + * + * @mbggenerated Wed Jun 13 16:29:58 CST 2018 + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/Tmtempcontractpass.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/Tmtempcontractpass.java new file mode 100644 index 0000000000000000000000000000000000000000..c9ef11146c1b2806add156a0c1ff07600b840e02 --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/Tmtempcontractpass.java @@ -0,0 +1,229 @@ +package com.unlcn.erp.hyc.interfaces.base.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class Tmtempcontractpass implements Serializable { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column TMTEMPCONTRACTPASS.ILINEID + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + private Long ilineid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column TMTEMPCONTRACTPASS.ISHIPID + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + private Long ishipid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column TMTEMPCONTRACTPASS.IPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + private BigDecimal ipass; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column TMTEMPCONTRACTPASS.VCMEMO + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + private String vcmemo; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column TMTEMPCONTRACTPASS.VCUSERNO + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + private String vcuserno; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column TMTEMPCONTRACTPASS.DTDATE + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + private Date dtdate; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + private static final long serialVersionUID = 1L; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column TMTEMPCONTRACTPASS.ILINEID + * + * @return the value of TMTEMPCONTRACTPASS.ILINEID + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public Long getIlineid() { + return ilineid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column TMTEMPCONTRACTPASS.ILINEID + * + * @param ilineid the value for TMTEMPCONTRACTPASS.ILINEID + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public void setIlineid(Long ilineid) { + this.ilineid = ilineid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column TMTEMPCONTRACTPASS.ISHIPID + * + * @return the value of TMTEMPCONTRACTPASS.ISHIPID + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public Long getIshipid() { + return ishipid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column TMTEMPCONTRACTPASS.ISHIPID + * + * @param ishipid the value for TMTEMPCONTRACTPASS.ISHIPID + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public void setIshipid(Long ishipid) { + this.ishipid = ishipid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column TMTEMPCONTRACTPASS.IPASS + * + * @return the value of TMTEMPCONTRACTPASS.IPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public BigDecimal getIpass() { + return ipass; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column TMTEMPCONTRACTPASS.IPASS + * + * @param ipass the value for TMTEMPCONTRACTPASS.IPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public void setIpass(BigDecimal ipass) { + this.ipass = ipass; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column TMTEMPCONTRACTPASS.VCMEMO + * + * @return the value of TMTEMPCONTRACTPASS.VCMEMO + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public String getVcmemo() { + return vcmemo; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column TMTEMPCONTRACTPASS.VCMEMO + * + * @param vcmemo the value for TMTEMPCONTRACTPASS.VCMEMO + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public void setVcmemo(String vcmemo) { + this.vcmemo = vcmemo == null ? null : vcmemo.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column TMTEMPCONTRACTPASS.VCUSERNO + * + * @return the value of TMTEMPCONTRACTPASS.VCUSERNO + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public String getVcuserno() { + return vcuserno; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column TMTEMPCONTRACTPASS.VCUSERNO + * + * @param vcuserno the value for TMTEMPCONTRACTPASS.VCUSERNO + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public void setVcuserno(String vcuserno) { + this.vcuserno = vcuserno == null ? null : vcuserno.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column TMTEMPCONTRACTPASS.DTDATE + * + * @return the value of TMTEMPCONTRACTPASS.DTDATE + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public Date getDtdate() { + return dtdate; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column TMTEMPCONTRACTPASS.DTDATE + * + * @param dtdate the value for TMTEMPCONTRACTPASS.DTDATE + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public void setDtdate(Date dtdate) { + this.dtdate = dtdate; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", ilineid=").append(ilineid); + sb.append(", ishipid=").append(ishipid); + sb.append(", ipass=").append(ipass); + sb.append(", vcmemo=").append(vcmemo); + sb.append(", vcuserno=").append(vcuserno); + sb.append(", dtdate=").append(dtdate); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TmtempcontractpassExample.java b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TmtempcontractpassExample.java new file mode 100644 index 0000000000000000000000000000000000000000..eb8efa201cd75b059200ecdfb3b61f615dbcf919 --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/java/com/unlcn/erp/hyc/interfaces/base/model/TmtempcontractpassExample.java @@ -0,0 +1,750 @@ +package com.unlcn.erp.hyc.interfaces.base.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class TmtempcontractpassExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + protected List oredCriteria; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + protected int limitStart = -1; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + protected int limitEnd = -1; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public TmtempcontractpassExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public void setLimitStart(int limitStart) { + this.limitStart=limitStart; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public int getLimitStart() { + return limitStart; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public void setLimitEnd(int limitEnd) { + this.limitEnd=limitEnd; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public int getLimitEnd() { + return limitEnd; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIlineidIsNull() { + addCriterion("ILINEID is null"); + return (Criteria) this; + } + + public Criteria andIlineidIsNotNull() { + addCriterion("ILINEID is not null"); + return (Criteria) this; + } + + public Criteria andIlineidEqualTo(Long value) { + addCriterion("ILINEID =", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidNotEqualTo(Long value) { + addCriterion("ILINEID <>", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidGreaterThan(Long value) { + addCriterion("ILINEID >", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidGreaterThanOrEqualTo(Long value) { + addCriterion("ILINEID >=", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidLessThan(Long value) { + addCriterion("ILINEID <", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidLessThanOrEqualTo(Long value) { + addCriterion("ILINEID <=", value, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidIn(List values) { + addCriterion("ILINEID in", values, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidNotIn(List values) { + addCriterion("ILINEID not in", values, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidBetween(Long value1, Long value2) { + addCriterion("ILINEID between", value1, value2, "ilineid"); + return (Criteria) this; + } + + public Criteria andIlineidNotBetween(Long value1, Long value2) { + addCriterion("ILINEID not between", value1, value2, "ilineid"); + return (Criteria) this; + } + + public Criteria andIshipidIsNull() { + addCriterion("ISHIPID is null"); + return (Criteria) this; + } + + public Criteria andIshipidIsNotNull() { + addCriterion("ISHIPID is not null"); + return (Criteria) this; + } + + public Criteria andIshipidEqualTo(Long value) { + addCriterion("ISHIPID =", value, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidNotEqualTo(Long value) { + addCriterion("ISHIPID <>", value, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidGreaterThan(Long value) { + addCriterion("ISHIPID >", value, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidGreaterThanOrEqualTo(Long value) { + addCriterion("ISHIPID >=", value, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidLessThan(Long value) { + addCriterion("ISHIPID <", value, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidLessThanOrEqualTo(Long value) { + addCriterion("ISHIPID <=", value, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidIn(List values) { + addCriterion("ISHIPID in", values, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidNotIn(List values) { + addCriterion("ISHIPID not in", values, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidBetween(Long value1, Long value2) { + addCriterion("ISHIPID between", value1, value2, "ishipid"); + return (Criteria) this; + } + + public Criteria andIshipidNotBetween(Long value1, Long value2) { + addCriterion("ISHIPID not between", value1, value2, "ishipid"); + return (Criteria) this; + } + + public Criteria andIpassIsNull() { + addCriterion("IPASS is null"); + return (Criteria) this; + } + + public Criteria andIpassIsNotNull() { + addCriterion("IPASS is not null"); + return (Criteria) this; + } + + public Criteria andIpassEqualTo(BigDecimal value) { + addCriterion("IPASS =", value, "ipass"); + return (Criteria) this; + } + + public Criteria andIpassNotEqualTo(BigDecimal value) { + addCriterion("IPASS <>", value, "ipass"); + return (Criteria) this; + } + + public Criteria andIpassGreaterThan(BigDecimal value) { + addCriterion("IPASS >", value, "ipass"); + return (Criteria) this; + } + + public Criteria andIpassGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("IPASS >=", value, "ipass"); + return (Criteria) this; + } + + public Criteria andIpassLessThan(BigDecimal value) { + addCriterion("IPASS <", value, "ipass"); + return (Criteria) this; + } + + public Criteria andIpassLessThanOrEqualTo(BigDecimal value) { + addCriterion("IPASS <=", value, "ipass"); + return (Criteria) this; + } + + public Criteria andIpassIn(List values) { + addCriterion("IPASS in", values, "ipass"); + return (Criteria) this; + } + + public Criteria andIpassNotIn(List values) { + addCriterion("IPASS not in", values, "ipass"); + return (Criteria) this; + } + + public Criteria andIpassBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("IPASS between", value1, value2, "ipass"); + return (Criteria) this; + } + + public Criteria andIpassNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("IPASS not between", value1, value2, "ipass"); + return (Criteria) this; + } + + public Criteria andVcmemoIsNull() { + addCriterion("VCMEMO is null"); + return (Criteria) this; + } + + public Criteria andVcmemoIsNotNull() { + addCriterion("VCMEMO is not null"); + return (Criteria) this; + } + + public Criteria andVcmemoEqualTo(String value) { + addCriterion("VCMEMO =", value, "vcmemo"); + return (Criteria) this; + } + + public Criteria andVcmemoNotEqualTo(String value) { + addCriterion("VCMEMO <>", value, "vcmemo"); + return (Criteria) this; + } + + public Criteria andVcmemoGreaterThan(String value) { + addCriterion("VCMEMO >", value, "vcmemo"); + return (Criteria) this; + } + + public Criteria andVcmemoGreaterThanOrEqualTo(String value) { + addCriterion("VCMEMO >=", value, "vcmemo"); + return (Criteria) this; + } + + public Criteria andVcmemoLessThan(String value) { + addCriterion("VCMEMO <", value, "vcmemo"); + return (Criteria) this; + } + + public Criteria andVcmemoLessThanOrEqualTo(String value) { + addCriterion("VCMEMO <=", value, "vcmemo"); + return (Criteria) this; + } + + public Criteria andVcmemoLike(String value) { + addCriterion("VCMEMO like", value, "vcmemo"); + return (Criteria) this; + } + + public Criteria andVcmemoNotLike(String value) { + addCriterion("VCMEMO not like", value, "vcmemo"); + return (Criteria) this; + } + + public Criteria andVcmemoIn(List values) { + addCriterion("VCMEMO in", values, "vcmemo"); + return (Criteria) this; + } + + public Criteria andVcmemoNotIn(List values) { + addCriterion("VCMEMO not in", values, "vcmemo"); + return (Criteria) this; + } + + public Criteria andVcmemoBetween(String value1, String value2) { + addCriterion("VCMEMO between", value1, value2, "vcmemo"); + return (Criteria) this; + } + + public Criteria andVcmemoNotBetween(String value1, String value2) { + addCriterion("VCMEMO not between", value1, value2, "vcmemo"); + return (Criteria) this; + } + + public Criteria andVcusernoIsNull() { + addCriterion("VCUSERNO is null"); + return (Criteria) this; + } + + public Criteria andVcusernoIsNotNull() { + addCriterion("VCUSERNO is not null"); + return (Criteria) this; + } + + public Criteria andVcusernoEqualTo(String value) { + addCriterion("VCUSERNO =", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoNotEqualTo(String value) { + addCriterion("VCUSERNO <>", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoGreaterThan(String value) { + addCriterion("VCUSERNO >", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoGreaterThanOrEqualTo(String value) { + addCriterion("VCUSERNO >=", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoLessThan(String value) { + addCriterion("VCUSERNO <", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoLessThanOrEqualTo(String value) { + addCriterion("VCUSERNO <=", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoLike(String value) { + addCriterion("VCUSERNO like", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoNotLike(String value) { + addCriterion("VCUSERNO not like", value, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoIn(List values) { + addCriterion("VCUSERNO in", values, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoNotIn(List values) { + addCriterion("VCUSERNO not in", values, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoBetween(String value1, String value2) { + addCriterion("VCUSERNO between", value1, value2, "vcuserno"); + return (Criteria) this; + } + + public Criteria andVcusernoNotBetween(String value1, String value2) { + addCriterion("VCUSERNO not between", value1, value2, "vcuserno"); + return (Criteria) this; + } + + public Criteria andDtdateIsNull() { + addCriterion("DTDATE is null"); + return (Criteria) this; + } + + public Criteria andDtdateIsNotNull() { + addCriterion("DTDATE is not null"); + return (Criteria) this; + } + + public Criteria andDtdateEqualTo(Date value) { + addCriterion("DTDATE =", value, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateNotEqualTo(Date value) { + addCriterion("DTDATE <>", value, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateGreaterThan(Date value) { + addCriterion("DTDATE >", value, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateGreaterThanOrEqualTo(Date value) { + addCriterion("DTDATE >=", value, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateLessThan(Date value) { + addCriterion("DTDATE <", value, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateLessThanOrEqualTo(Date value) { + addCriterion("DTDATE <=", value, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateIn(List values) { + addCriterion("DTDATE in", values, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateNotIn(List values) { + addCriterion("DTDATE not in", values, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateBetween(Date value1, Date value2) { + addCriterion("DTDATE between", value1, value2, "dtdate"); + return (Criteria) this; + } + + public Criteria andDtdateNotBetween(Date value1, Date value2) { + addCriterion("DTDATE not between", value1, value2, "dtdate"); + return (Criteria) this; + } + + public Criteria andVcmemoLikeInsensitive(String value) { + addCriterion("upper(VCMEMO) like", value.toUpperCase(), "vcmemo"); + return (Criteria) this; + } + + public Criteria andVcusernoLikeInsensitive(String value) { + addCriterion("upper(VCUSERNO) like", value.toUpperCase(), "vcuserno"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated do_not_delete_during_merge Thu Jun 14 11:51:19 CST 2018 + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table TMTEMPCONTRACTPASS + * + * @mbggenerated Thu Jun 14 11:51:19 CST 2018 + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/resources/mappers/SmcustomerMapper.xml b/erp-hyc-interfaces-base/src/main/resources/mappers/SmcustomerMapper.xml index b249341a420e3d81b421610ceddf613d5833446d..6c206c99e18ac425206620cddc6a693c63755161 100644 --- a/erp-hyc-interfaces-base/src/main/resources/mappers/SmcustomerMapper.xml +++ b/erp-hyc-interfaces-base/src/main/resources/mappers/SmcustomerMapper.xml @@ -131,7 +131,7 @@ limit ${limitStart} , ${limitEnd} - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + ILINEID, ISHIPID, ICUSTOMERID, DCCOUNT, IPAYID, DCOTHER, DCINSURE, DCREOTHER, DCREPAY, + VCCHECKTEMPUSERNO, BPRINT, DTPRINT, VCPRINTUSERNO, ISTYLEID, DTCHECKDATE, BRECHECK, + VCRECHECKUSERNO, DTRECHECK, VCUSERNO, DTDATE, VC_PRICE_NO, DOIDPAY, BRESUB, IYFKFALG + + + + + + delete from SMTEMPCONTRACTLIST + where ILINEID = #{ilineid,jdbcType=DECIMAL} + + + + delete from SMTEMPCONTRACTLIST + + + + + + + + Orcal + + insert into SMTEMPCONTRACTLIST (ISHIPID, ICUSTOMERID, DCCOUNT, + IPAYID, DCOTHER, DCINSURE, + DCREOTHER, DCREPAY, VCCHECKTEMPUSERNO, + BPRINT, DTPRINT, VCPRINTUSERNO, + ISTYLEID, DTCHECKDATE, BRECHECK, + VCRECHECKUSERNO, DTRECHECK, VCUSERNO, + DTDATE, VC_PRICE_NO, DOIDPAY, + BRESUB, IYFKFALG) + values (#{ishipid,jdbcType=DECIMAL}, #{icustomerid,jdbcType=DECIMAL}, #{dccount,jdbcType=DECIMAL}, + #{ipayid,jdbcType=DECIMAL}, #{dcother,jdbcType=DECIMAL}, #{dcinsure,jdbcType=DECIMAL}, + #{dcreother,jdbcType=DECIMAL}, #{dcrepay,jdbcType=DECIMAL}, #{vcchecktempuserno,jdbcType=VARCHAR}, + #{bprint,jdbcType=DECIMAL}, #{dtprint,jdbcType=TIMESTAMP}, #{vcprintuserno,jdbcType=VARCHAR}, + #{istyleid,jdbcType=DECIMAL}, #{dtcheckdate,jdbcType=TIMESTAMP}, #{brecheck,jdbcType=DECIMAL}, + #{vcrecheckuserno,jdbcType=VARCHAR}, #{dtrecheck,jdbcType=TIMESTAMP}, #{vcuserno,jdbcType=VARCHAR}, + #{dtdate,jdbcType=TIMESTAMP}, #{vcPriceNo,jdbcType=VARCHAR}, #{doidpay,jdbcType=DECIMAL}, + #{bresub,jdbcType=DECIMAL}, #{iyfkfalg,jdbcType=DECIMAL}) + + + + insert into SMTEMPCONTRACTLIST + + + ILINEID, + + + ISHIPID, + + + ICUSTOMERID, + + + DCCOUNT, + + + IPAYID, + + + DCOTHER, + + + DCINSURE, + + + DCREOTHER, + + + DCREPAY, + + + VCCHECKTEMPUSERNO, + + + BPRINT, + + + DTPRINT, + + + VCPRINTUSERNO, + + + ISTYLEID, + + + DTCHECKDATE, + + + BRECHECK, + + + VCRECHECKUSERNO, + + + DTRECHECK, + + + VCUSERNO, + + + DTDATE, + + + VC_PRICE_NO, + + + DOIDPAY, + + + BRESUB, + + + IYFKFALG, + + + + + #{ilineid,jdbcType=DECIMAL}, + + + #{ishipid,jdbcType=DECIMAL}, + + + #{icustomerid,jdbcType=DECIMAL}, + + + #{dccount,jdbcType=DECIMAL}, + + + #{ipayid,jdbcType=DECIMAL}, + + + #{dcother,jdbcType=DECIMAL}, + + + #{dcinsure,jdbcType=DECIMAL}, + + + #{dcreother,jdbcType=DECIMAL}, + + + #{dcrepay,jdbcType=DECIMAL}, + + + #{vcchecktempuserno,jdbcType=VARCHAR}, + + + #{bprint,jdbcType=DECIMAL}, + + + #{dtprint,jdbcType=TIMESTAMP}, + + + #{vcprintuserno,jdbcType=VARCHAR}, + + + #{istyleid,jdbcType=DECIMAL}, + + + #{dtcheckdate,jdbcType=TIMESTAMP}, + + + #{brecheck,jdbcType=DECIMAL}, + + + #{vcrecheckuserno,jdbcType=VARCHAR}, + + + #{dtrecheck,jdbcType=TIMESTAMP}, + + + #{vcuserno,jdbcType=VARCHAR}, + + + #{dtdate,jdbcType=TIMESTAMP}, + + + #{vcPriceNo,jdbcType=VARCHAR}, + + + #{doidpay,jdbcType=DECIMAL}, + + + #{bresub,jdbcType=DECIMAL}, + + + #{iyfkfalg,jdbcType=DECIMAL}, + + + + + + + update SMTEMPCONTRACTLIST + + + ILINEID = #{record.ilineid,jdbcType=DECIMAL}, + + + ISHIPID = #{record.ishipid,jdbcType=DECIMAL}, + + + ICUSTOMERID = #{record.icustomerid,jdbcType=DECIMAL}, + + + DCCOUNT = #{record.dccount,jdbcType=DECIMAL}, + + + IPAYID = #{record.ipayid,jdbcType=DECIMAL}, + + + DCOTHER = #{record.dcother,jdbcType=DECIMAL}, + + + DCINSURE = #{record.dcinsure,jdbcType=DECIMAL}, + + + DCREOTHER = #{record.dcreother,jdbcType=DECIMAL}, + + + DCREPAY = #{record.dcrepay,jdbcType=DECIMAL}, + + + VCCHECKTEMPUSERNO = #{record.vcchecktempuserno,jdbcType=VARCHAR}, + + + BPRINT = #{record.bprint,jdbcType=DECIMAL}, + + + DTPRINT = #{record.dtprint,jdbcType=TIMESTAMP}, + + + VCPRINTUSERNO = #{record.vcprintuserno,jdbcType=VARCHAR}, + + + ISTYLEID = #{record.istyleid,jdbcType=DECIMAL}, + + + DTCHECKDATE = #{record.dtcheckdate,jdbcType=TIMESTAMP}, + + + BRECHECK = #{record.brecheck,jdbcType=DECIMAL}, + + + VCRECHECKUSERNO = #{record.vcrecheckuserno,jdbcType=VARCHAR}, + + + DTRECHECK = #{record.dtrecheck,jdbcType=TIMESTAMP}, + + + VCUSERNO = #{record.vcuserno,jdbcType=VARCHAR}, + + + DTDATE = #{record.dtdate,jdbcType=TIMESTAMP}, + + + VC_PRICE_NO = #{record.vcPriceNo,jdbcType=VARCHAR}, + + + DOIDPAY = #{record.doidpay,jdbcType=DECIMAL}, + + + BRESUB = #{record.bresub,jdbcType=DECIMAL}, + + + IYFKFALG = #{record.iyfkfalg,jdbcType=DECIMAL}, + + + + + + + + + update SMTEMPCONTRACTLIST + set ILINEID = #{record.ilineid,jdbcType=DECIMAL}, + ISHIPID = #{record.ishipid,jdbcType=DECIMAL}, + ICUSTOMERID = #{record.icustomerid,jdbcType=DECIMAL}, + DCCOUNT = #{record.dccount,jdbcType=DECIMAL}, + IPAYID = #{record.ipayid,jdbcType=DECIMAL}, + DCOTHER = #{record.dcother,jdbcType=DECIMAL}, + DCINSURE = #{record.dcinsure,jdbcType=DECIMAL}, + DCREOTHER = #{record.dcreother,jdbcType=DECIMAL}, + DCREPAY = #{record.dcrepay,jdbcType=DECIMAL}, + VCCHECKTEMPUSERNO = #{record.vcchecktempuserno,jdbcType=VARCHAR}, + BPRINT = #{record.bprint,jdbcType=DECIMAL}, + DTPRINT = #{record.dtprint,jdbcType=TIMESTAMP}, + VCPRINTUSERNO = #{record.vcprintuserno,jdbcType=VARCHAR}, + ISTYLEID = #{record.istyleid,jdbcType=DECIMAL}, + DTCHECKDATE = #{record.dtcheckdate,jdbcType=TIMESTAMP}, + BRECHECK = #{record.brecheck,jdbcType=DECIMAL}, + VCRECHECKUSERNO = #{record.vcrecheckuserno,jdbcType=VARCHAR}, + DTRECHECK = #{record.dtrecheck,jdbcType=TIMESTAMP}, + VCUSERNO = #{record.vcuserno,jdbcType=VARCHAR}, + DTDATE = #{record.dtdate,jdbcType=TIMESTAMP}, + VC_PRICE_NO = #{record.vcPriceNo,jdbcType=VARCHAR}, + DOIDPAY = #{record.doidpay,jdbcType=DECIMAL}, + BRESUB = #{record.bresub,jdbcType=DECIMAL}, + IYFKFALG = #{record.iyfkfalg,jdbcType=DECIMAL} + + + + + + + update SMTEMPCONTRACTLIST + + + ISHIPID = #{ishipid,jdbcType=DECIMAL}, + + + ICUSTOMERID = #{icustomerid,jdbcType=DECIMAL}, + + + DCCOUNT = #{dccount,jdbcType=DECIMAL}, + + + IPAYID = #{ipayid,jdbcType=DECIMAL}, + + + DCOTHER = #{dcother,jdbcType=DECIMAL}, + + + DCINSURE = #{dcinsure,jdbcType=DECIMAL}, + + + DCREOTHER = #{dcreother,jdbcType=DECIMAL}, + + + DCREPAY = #{dcrepay,jdbcType=DECIMAL}, + + + VCCHECKTEMPUSERNO = #{vcchecktempuserno,jdbcType=VARCHAR}, + + + BPRINT = #{bprint,jdbcType=DECIMAL}, + + + DTPRINT = #{dtprint,jdbcType=TIMESTAMP}, + + + VCPRINTUSERNO = #{vcprintuserno,jdbcType=VARCHAR}, + + + ISTYLEID = #{istyleid,jdbcType=DECIMAL}, + + + DTCHECKDATE = #{dtcheckdate,jdbcType=TIMESTAMP}, + + + BRECHECK = #{brecheck,jdbcType=DECIMAL}, + + + VCRECHECKUSERNO = #{vcrecheckuserno,jdbcType=VARCHAR}, + + + DTRECHECK = #{dtrecheck,jdbcType=TIMESTAMP}, + + + VCUSERNO = #{vcuserno,jdbcType=VARCHAR}, + + + DTDATE = #{dtdate,jdbcType=TIMESTAMP}, + + + VC_PRICE_NO = #{vcPriceNo,jdbcType=VARCHAR}, + + + DOIDPAY = #{doidpay,jdbcType=DECIMAL}, + + + BRESUB = #{bresub,jdbcType=DECIMAL}, + + + IYFKFALG = #{iyfkfalg,jdbcType=DECIMAL}, + + + where ILINEID = #{ilineid,jdbcType=DECIMAL} + + + + update SMTEMPCONTRACTLIST + set ISHIPID = #{ishipid,jdbcType=DECIMAL}, + ICUSTOMERID = #{icustomerid,jdbcType=DECIMAL}, + DCCOUNT = #{dccount,jdbcType=DECIMAL}, + IPAYID = #{ipayid,jdbcType=DECIMAL}, + DCOTHER = #{dcother,jdbcType=DECIMAL}, + DCINSURE = #{dcinsure,jdbcType=DECIMAL}, + DCREOTHER = #{dcreother,jdbcType=DECIMAL}, + DCREPAY = #{dcrepay,jdbcType=DECIMAL}, + VCCHECKTEMPUSERNO = #{vcchecktempuserno,jdbcType=VARCHAR}, + BPRINT = #{bprint,jdbcType=DECIMAL}, + DTPRINT = #{dtprint,jdbcType=TIMESTAMP}, + VCPRINTUSERNO = #{vcprintuserno,jdbcType=VARCHAR}, + ISTYLEID = #{istyleid,jdbcType=DECIMAL}, + DTCHECKDATE = #{dtcheckdate,jdbcType=TIMESTAMP}, + BRECHECK = #{brecheck,jdbcType=DECIMAL}, + VCRECHECKUSERNO = #{vcrecheckuserno,jdbcType=VARCHAR}, + DTRECHECK = #{dtrecheck,jdbcType=TIMESTAMP}, + VCUSERNO = #{vcuserno,jdbcType=VARCHAR}, + DTDATE = #{dtdate,jdbcType=TIMESTAMP}, + VC_PRICE_NO = #{vcPriceNo,jdbcType=VARCHAR}, + DOIDPAY = #{doidpay,jdbcType=DECIMAL}, + BRESUB = #{bresub,jdbcType=DECIMAL}, + IYFKFALG = #{iyfkfalg,jdbcType=DECIMAL} + where ILINEID = #{ilineid,jdbcType=DECIMAL} + + + \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/resources/mappers/SoshipheadMapper.xml b/erp-hyc-interfaces-base/src/main/resources/mappers/SoshipheadMapper.xml index 06949e9295636f1b56af072ccce0302bdeccd694..4c2fc45259ce17ffcc623fb6621074fe4b12817e 100644 --- a/erp-hyc-interfaces-base/src/main/resources/mappers/SoshipheadMapper.xml +++ b/erp-hyc-interfaces-base/src/main/resources/mappers/SoshipheadMapper.xml @@ -180,7 +180,7 @@ limit ${limitStart} , ${limitEnd} - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + ILINEID, VC_START, VC_END, VC_PRICE_NO, VC_STYLE, VC_CUSTOMER, N_STANDARD_PRICE, + N_PRICE, N_DQTY, DT_ADD, N_KILOMETER, I_PRICE_SHEET, N_RATIO, N_DQJSTY, DCKILOMETER, + DCPRICE, VCMAPNAME ,VC_SHARE + + + + + + delete from T_PRICE_DETAIL + where ILINEID = #{ilineid,jdbcType=DECIMAL} + + + + delete from T_PRICE_DETAIL + + + + + + + + Orcal + + insert into T_PRICE_DETAIL (VC_START, VC_END, VC_PRICE_NO, + VC_STYLE, VC_CUSTOMER, N_STANDARD_PRICE, + N_PRICE, N_DQTY, DT_ADD, + N_KILOMETER, I_PRICE_SHEET, N_RATIO, + N_DQJSTY, DCKILOMETER, DCPRICE, + VCMAPNAME) + values (#{vcStart,jdbcType=VARCHAR}, #{vcEnd,jdbcType=VARCHAR}, #{vcPriceNo,jdbcType=VARCHAR}, + #{vcStyle,jdbcType=VARCHAR}, #{vcCustomer,jdbcType=VARCHAR}, #{nStandardPrice,jdbcType=DECIMAL}, + #{nPrice,jdbcType=DECIMAL}, #{nDqty,jdbcType=DECIMAL}, #{dtAdd,jdbcType=TIMESTAMP}, + #{nKilometer,jdbcType=DECIMAL}, #{iPriceSheet,jdbcType=DECIMAL}, #{nRatio,jdbcType=DECIMAL}, + #{nDqjsty,jdbcType=DECIMAL}, #{dckilometer,jdbcType=DECIMAL}, #{dcprice,jdbcType=DECIMAL}, + #{vcmapname,jdbcType=VARCHAR}) + + + + insert into T_PRICE_DETAIL + + + ILINEID, + + + VC_START, + + + VC_END, + + + VC_PRICE_NO, + + + VC_STYLE, + + + VC_CUSTOMER, + + + N_STANDARD_PRICE, + + + N_PRICE, + + + N_DQTY, + + + DT_ADD, + + + N_KILOMETER, + + + I_PRICE_SHEET, + + + N_RATIO, + + + N_DQJSTY, + + + DCKILOMETER, + + + DCPRICE, + + + VCMAPNAME, + + + VCMAPNAME, + + + + + #{ilineid,jdbcType=DECIMAL}, + + + #{vcStart,jdbcType=VARCHAR}, + + + #{vcEnd,jdbcType=VARCHAR}, + + + #{vcPriceNo,jdbcType=VARCHAR}, + + + #{vcStyle,jdbcType=VARCHAR}, + + + #{vcCustomer,jdbcType=VARCHAR}, + + + #{nStandardPrice,jdbcType=DECIMAL}, + + + #{nPrice,jdbcType=DECIMAL}, + + + #{nDqty,jdbcType=DECIMAL}, + + + #{dtAdd,jdbcType=TIMESTAMP}, + + + #{nKilometer,jdbcType=DECIMAL}, + + + #{iPriceSheet,jdbcType=DECIMAL}, + + + #{nRatio,jdbcType=DECIMAL}, + + + #{nDqjsty,jdbcType=DECIMAL}, + + + #{dckilometer,jdbcType=DECIMAL}, + + + #{dcprice,jdbcType=DECIMAL}, + + + #{vcmapname,jdbcType=VARCHAR}, + + + #{vcshare,jdbcType=VARCHAR}, + + + + + + + update T_PRICE_DETAIL + + + ILINEID = #{record.ilineid,jdbcType=DECIMAL}, + + + VC_START = #{record.vcStart,jdbcType=VARCHAR}, + + + VC_END = #{record.vcEnd,jdbcType=VARCHAR}, + + + VC_PRICE_NO = #{record.vcPriceNo,jdbcType=VARCHAR}, + + + VC_STYLE = #{record.vcStyle,jdbcType=VARCHAR}, + + + VC_CUSTOMER = #{record.vcCustomer,jdbcType=VARCHAR}, + + + N_STANDARD_PRICE = #{record.nStandardPrice,jdbcType=DECIMAL}, + + + N_PRICE = #{record.nPrice,jdbcType=DECIMAL}, + + + N_DQTY = #{record.nDqty,jdbcType=DECIMAL}, + + + DT_ADD = #{record.dtAdd,jdbcType=TIMESTAMP}, + + + N_KILOMETER = #{record.nKilometer,jdbcType=DECIMAL}, + + + I_PRICE_SHEET = #{record.iPriceSheet,jdbcType=DECIMAL}, + + + N_RATIO = #{record.nRatio,jdbcType=DECIMAL}, + + + N_DQJSTY = #{record.nDqjsty,jdbcType=DECIMAL}, + + + DCKILOMETER = #{record.dckilometer,jdbcType=DECIMAL}, + + + DCPRICE = #{record.dcprice,jdbcType=DECIMAL}, + + + VCMAPNAME = #{record.vcmapname,jdbcType=VARCHAR}, + + + + + + + + + update T_PRICE_DETAIL + set ILINEID = #{record.ilineid,jdbcType=DECIMAL}, + VC_START = #{record.vcStart,jdbcType=VARCHAR}, + VC_END = #{record.vcEnd,jdbcType=VARCHAR}, + VC_PRICE_NO = #{record.vcPriceNo,jdbcType=VARCHAR}, + VC_STYLE = #{record.vcStyle,jdbcType=VARCHAR}, + VC_CUSTOMER = #{record.vcCustomer,jdbcType=VARCHAR}, + N_STANDARD_PRICE = #{record.nStandardPrice,jdbcType=DECIMAL}, + N_PRICE = #{record.nPrice,jdbcType=DECIMAL}, + N_DQTY = #{record.nDqty,jdbcType=DECIMAL}, + DT_ADD = #{record.dtAdd,jdbcType=TIMESTAMP}, + N_KILOMETER = #{record.nKilometer,jdbcType=DECIMAL}, + I_PRICE_SHEET = #{record.iPriceSheet,jdbcType=DECIMAL}, + N_RATIO = #{record.nRatio,jdbcType=DECIMAL}, + N_DQJSTY = #{record.nDqjsty,jdbcType=DECIMAL}, + DCKILOMETER = #{record.dckilometer,jdbcType=DECIMAL}, + DCPRICE = #{record.dcprice,jdbcType=DECIMAL}, + VCMAPNAME = #{record.vcmapname,jdbcType=VARCHAR} + + + + + + + update T_PRICE_DETAIL + + + VC_START = #{vcStart,jdbcType=VARCHAR}, + + + VC_END = #{vcEnd,jdbcType=VARCHAR}, + + + VC_PRICE_NO = #{vcPriceNo,jdbcType=VARCHAR}, + + + VC_STYLE = #{vcStyle,jdbcType=VARCHAR}, + + + VC_CUSTOMER = #{vcCustomer,jdbcType=VARCHAR}, + + + N_STANDARD_PRICE = #{nStandardPrice,jdbcType=DECIMAL}, + + + N_PRICE = #{nPrice,jdbcType=DECIMAL}, + + + N_DQTY = #{nDqty,jdbcType=DECIMAL}, + + + DT_ADD = #{dtAdd,jdbcType=TIMESTAMP}, + + + N_KILOMETER = #{nKilometer,jdbcType=DECIMAL}, + + + I_PRICE_SHEET = #{iPriceSheet,jdbcType=DECIMAL}, + + + N_RATIO = #{nRatio,jdbcType=DECIMAL}, + + + N_DQJSTY = #{nDqjsty,jdbcType=DECIMAL}, + + + DCKILOMETER = #{dckilometer,jdbcType=DECIMAL}, + + + DCPRICE = #{dcprice,jdbcType=DECIMAL}, + + + VCMAPNAME = #{vcmapname,jdbcType=VARCHAR}, + + + where ILINEID = #{ilineid,jdbcType=DECIMAL} + + + + update T_PRICE_DETAIL + set VC_START = #{vcStart,jdbcType=VARCHAR}, + VC_END = #{vcEnd,jdbcType=VARCHAR}, + VC_PRICE_NO = #{vcPriceNo,jdbcType=VARCHAR}, + VC_STYLE = #{vcStyle,jdbcType=VARCHAR}, + VC_CUSTOMER = #{vcCustomer,jdbcType=VARCHAR}, + N_STANDARD_PRICE = #{nStandardPrice,jdbcType=DECIMAL}, + N_PRICE = #{nPrice,jdbcType=DECIMAL}, + N_DQTY = #{nDqty,jdbcType=DECIMAL}, + DT_ADD = #{dtAdd,jdbcType=TIMESTAMP}, + N_KILOMETER = #{nKilometer,jdbcType=DECIMAL}, + I_PRICE_SHEET = #{iPriceSheet,jdbcType=DECIMAL}, + N_RATIO = #{nRatio,jdbcType=DECIMAL}, + N_DQJSTY = #{nDqjsty,jdbcType=DECIMAL}, + DCKILOMETER = #{dckilometer,jdbcType=DECIMAL}, + DCPRICE = #{dcprice,jdbcType=DECIMAL}, + VCMAPNAME = #{vcmapname,jdbcType=VARCHAR} + where ILINEID = #{ilineid,jdbcType=DECIMAL} + + + + + \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/resources/mappers/TPriceSheetMapper.xml b/erp-hyc-interfaces-base/src/main/resources/mappers/TPriceSheetMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..e62747457cca61ca1d0bdb1c13a47ac66b07f4a5 --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/resources/mappers/TPriceSheetMapper.xml @@ -0,0 +1,834 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + ILINEID, VC_PRICE_NO, N_STATUS, DT_APPROVE, N_CREATE_CONTRACT, N_ENABLE, I_FLEET_ID, + VC_FLEET_NAME, N_PAY_METHODE, N_PAYMENT_DAYS, VC_OTHER_NOTE, N_OTHER, N_LEVEL, DT_DEADLLINE, + VC_ADD_USERNO, N_ADD, DT_ADD, VC_CREATE_USERNO, DT_CREATE, N_STANDARD_PRICE, N_PRICE, + VC_APPROVER, N_RATIO, VC_ALL_APPROVERS, N_INDEX, N_JSSTANDARD_PRICE, VCREMARK + + + + + + delete from T_PRICE_SHEET + where ILINEID = #{ilineid,jdbcType=DECIMAL} + + + + delete from T_PRICE_SHEET + + + + + + + + Orcal + + insert into T_PRICE_SHEET (VC_PRICE_NO, N_STATUS, DT_APPROVE, + N_CREATE_CONTRACT, N_ENABLE, I_FLEET_ID, + VC_FLEET_NAME, N_PAY_METHODE, N_PAYMENT_DAYS, + VC_OTHER_NOTE, N_OTHER, N_LEVEL, + DT_DEADLLINE, VC_ADD_USERNO, N_ADD, + DT_ADD, VC_CREATE_USERNO, DT_CREATE, + N_STANDARD_PRICE, N_PRICE, VC_APPROVER, + N_RATIO, VC_ALL_APPROVERS, N_INDEX, + N_JSSTANDARD_PRICE, VCREMARK) + values (#{vcPriceNo,jdbcType=VARCHAR}, #{nStatus,jdbcType=DECIMAL}, #{dtApprove,jdbcType=TIMESTAMP}, + #{nCreateContract,jdbcType=DECIMAL}, #{nEnable,jdbcType=DECIMAL}, #{iFleetId,jdbcType=DECIMAL}, + #{vcFleetName,jdbcType=VARCHAR}, #{nPayMethode,jdbcType=DECIMAL}, #{nPaymentDays,jdbcType=DECIMAL}, + #{vcOtherNote,jdbcType=VARCHAR}, #{nOther,jdbcType=DECIMAL}, #{nLevel,jdbcType=DECIMAL}, + #{dtDeadlline,jdbcType=TIMESTAMP}, #{vcAddUserno,jdbcType=VARCHAR}, #{nAdd,jdbcType=DECIMAL}, + #{dtAdd,jdbcType=TIMESTAMP}, #{vcCreateUserno,jdbcType=VARCHAR}, #{dtCreate,jdbcType=TIMESTAMP}, + #{nStandardPrice,jdbcType=DECIMAL}, #{nPrice,jdbcType=DECIMAL}, #{vcApprover,jdbcType=VARCHAR}, + #{nRatio,jdbcType=DECIMAL}, #{vcAllApprovers,jdbcType=VARCHAR}, #{nIndex,jdbcType=DECIMAL}, + #{nJsstandardPrice,jdbcType=DECIMAL}, #{vcremark,jdbcType=VARCHAR}) + + + + + Orcal + + insert into T_PRICE_SHEET + + + VC_PRICE_NO, + + + N_STATUS, + + + DT_APPROVE, + + + N_CREATE_CONTRACT, + + + N_ENABLE, + + + I_FLEET_ID, + + + VC_FLEET_NAME, + + + N_PAY_METHODE, + + + N_PAYMENT_DAYS, + + + VC_OTHER_NOTE, + + + N_OTHER, + + + N_LEVEL, + + + DT_DEADLLINE, + + + VC_ADD_USERNO, + + + N_ADD, + + + DT_ADD, + + + VC_CREATE_USERNO, + + + DT_CREATE, + + + N_STANDARD_PRICE, + + + N_PRICE, + + + VC_APPROVER, + + + N_RATIO, + + + VC_ALL_APPROVERS, + + + N_INDEX, + + + N_JSSTANDARD_PRICE, + + + VCREMARK, + + + + + #{vcPriceNo,jdbcType=VARCHAR}, + + + #{nStatus,jdbcType=DECIMAL}, + + + #{dtApprove,jdbcType=TIMESTAMP}, + + + #{nCreateContract,jdbcType=DECIMAL}, + + + #{nEnable,jdbcType=DECIMAL}, + + + #{iFleetId,jdbcType=DECIMAL}, + + + #{vcFleetName,jdbcType=VARCHAR}, + + + #{nPayMethode,jdbcType=DECIMAL}, + + + #{nPaymentDays,jdbcType=DECIMAL}, + + + #{vcOtherNote,jdbcType=VARCHAR}, + + + #{nOther,jdbcType=DECIMAL}, + + + #{nLevel,jdbcType=DECIMAL}, + + + #{dtDeadlline,jdbcType=TIMESTAMP}, + + + #{vcAddUserno,jdbcType=VARCHAR}, + + + #{nAdd,jdbcType=DECIMAL}, + + + #{dtAdd,jdbcType=TIMESTAMP}, + + + #{vcCreateUserno,jdbcType=VARCHAR}, + + + #{dtCreate,jdbcType=TIMESTAMP}, + + + #{nStandardPrice,jdbcType=DECIMAL}, + + + #{nPrice,jdbcType=DECIMAL}, + + + #{vcApprover,jdbcType=VARCHAR}, + + + #{nRatio,jdbcType=DECIMAL}, + + + #{vcAllApprovers,jdbcType=VARCHAR}, + + + #{nIndex,jdbcType=DECIMAL}, + + + #{nJsstandardPrice,jdbcType=DECIMAL}, + + + #{vcremark,jdbcType=VARCHAR}, + + + + + + + update T_PRICE_SHEET + + + ILINEID = #{record.ilineid,jdbcType=DECIMAL}, + + + VC_PRICE_NO = #{record.vcPriceNo,jdbcType=VARCHAR}, + + + N_STATUS = #{record.nStatus,jdbcType=DECIMAL}, + + + DT_APPROVE = #{record.dtApprove,jdbcType=TIMESTAMP}, + + + N_CREATE_CONTRACT = #{record.nCreateContract,jdbcType=DECIMAL}, + + + N_ENABLE = #{record.nEnable,jdbcType=DECIMAL}, + + + I_FLEET_ID = #{record.iFleetId,jdbcType=DECIMAL}, + + + VC_FLEET_NAME = #{record.vcFleetName,jdbcType=VARCHAR}, + + + N_PAY_METHODE = #{record.nPayMethode,jdbcType=DECIMAL}, + + + N_PAYMENT_DAYS = #{record.nPaymentDays,jdbcType=DECIMAL}, + + + VC_OTHER_NOTE = #{record.vcOtherNote,jdbcType=VARCHAR}, + + + N_OTHER = #{record.nOther,jdbcType=DECIMAL}, + + + N_LEVEL = #{record.nLevel,jdbcType=DECIMAL}, + + + DT_DEADLLINE = #{record.dtDeadlline,jdbcType=TIMESTAMP}, + + + VC_ADD_USERNO = #{record.vcAddUserno,jdbcType=VARCHAR}, + + + N_ADD = #{record.nAdd,jdbcType=DECIMAL}, + + + DT_ADD = #{record.dtAdd,jdbcType=TIMESTAMP}, + + + VC_CREATE_USERNO = #{record.vcCreateUserno,jdbcType=VARCHAR}, + + + DT_CREATE = #{record.dtCreate,jdbcType=TIMESTAMP}, + + + N_STANDARD_PRICE = #{record.nStandardPrice,jdbcType=DECIMAL}, + + + N_PRICE = #{record.nPrice,jdbcType=DECIMAL}, + + + VC_APPROVER = #{record.vcApprover,jdbcType=VARCHAR}, + + + N_RATIO = #{record.nRatio,jdbcType=DECIMAL}, + + + VC_ALL_APPROVERS = #{record.vcAllApprovers,jdbcType=VARCHAR}, + + + N_INDEX = #{record.nIndex,jdbcType=DECIMAL}, + + + N_JSSTANDARD_PRICE = #{record.nJsstandardPrice,jdbcType=DECIMAL}, + + + VCREMARK = #{record.vcremark,jdbcType=VARCHAR}, + + + + + + + + + update T_PRICE_SHEET + set ILINEID = #{record.ilineid,jdbcType=DECIMAL}, + VC_PRICE_NO = #{record.vcPriceNo,jdbcType=VARCHAR}, + N_STATUS = #{record.nStatus,jdbcType=DECIMAL}, + DT_APPROVE = #{record.dtApprove,jdbcType=TIMESTAMP}, + N_CREATE_CONTRACT = #{record.nCreateContract,jdbcType=DECIMAL}, + N_ENABLE = #{record.nEnable,jdbcType=DECIMAL}, + I_FLEET_ID = #{record.iFleetId,jdbcType=DECIMAL}, + VC_FLEET_NAME = #{record.vcFleetName,jdbcType=VARCHAR}, + N_PAY_METHODE = #{record.nPayMethode,jdbcType=DECIMAL}, + N_PAYMENT_DAYS = #{record.nPaymentDays,jdbcType=DECIMAL}, + VC_OTHER_NOTE = #{record.vcOtherNote,jdbcType=VARCHAR}, + N_OTHER = #{record.nOther,jdbcType=DECIMAL}, + N_LEVEL = #{record.nLevel,jdbcType=DECIMAL}, + DT_DEADLLINE = #{record.dtDeadlline,jdbcType=TIMESTAMP}, + VC_ADD_USERNO = #{record.vcAddUserno,jdbcType=VARCHAR}, + N_ADD = #{record.nAdd,jdbcType=DECIMAL}, + DT_ADD = #{record.dtAdd,jdbcType=TIMESTAMP}, + VC_CREATE_USERNO = #{record.vcCreateUserno,jdbcType=VARCHAR}, + DT_CREATE = #{record.dtCreate,jdbcType=TIMESTAMP}, + N_STANDARD_PRICE = #{record.nStandardPrice,jdbcType=DECIMAL}, + N_PRICE = #{record.nPrice,jdbcType=DECIMAL}, + VC_APPROVER = #{record.vcApprover,jdbcType=VARCHAR}, + N_RATIO = #{record.nRatio,jdbcType=DECIMAL}, + VC_ALL_APPROVERS = #{record.vcAllApprovers,jdbcType=VARCHAR}, + N_INDEX = #{record.nIndex,jdbcType=DECIMAL}, + N_JSSTANDARD_PRICE = #{record.nJsstandardPrice,jdbcType=DECIMAL}, + VCREMARK = #{record.vcremark,jdbcType=VARCHAR} + + + + + + + update T_PRICE_SHEET + + + VC_PRICE_NO = #{vcPriceNo,jdbcType=VARCHAR}, + + + N_STATUS = #{nStatus,jdbcType=DECIMAL}, + + + DT_APPROVE = #{dtApprove,jdbcType=TIMESTAMP}, + + + N_CREATE_CONTRACT = #{nCreateContract,jdbcType=DECIMAL}, + + + N_ENABLE = #{nEnable,jdbcType=DECIMAL}, + + + I_FLEET_ID = #{iFleetId,jdbcType=DECIMAL}, + + + VC_FLEET_NAME = #{vcFleetName,jdbcType=VARCHAR}, + + + N_PAY_METHODE = #{nPayMethode,jdbcType=DECIMAL}, + + + N_PAYMENT_DAYS = #{nPaymentDays,jdbcType=DECIMAL}, + + + VC_OTHER_NOTE = #{vcOtherNote,jdbcType=VARCHAR}, + + + N_OTHER = #{nOther,jdbcType=DECIMAL}, + + + N_LEVEL = #{nLevel,jdbcType=DECIMAL}, + + + DT_DEADLLINE = #{dtDeadlline,jdbcType=TIMESTAMP}, + + + VC_ADD_USERNO = #{vcAddUserno,jdbcType=VARCHAR}, + + + N_ADD = #{nAdd,jdbcType=DECIMAL}, + + + DT_ADD = #{dtAdd,jdbcType=TIMESTAMP}, + + + VC_CREATE_USERNO = #{vcCreateUserno,jdbcType=VARCHAR}, + + + DT_CREATE = #{dtCreate,jdbcType=TIMESTAMP}, + + + N_STANDARD_PRICE = #{nStandardPrice,jdbcType=DECIMAL}, + + + N_PRICE = #{nPrice,jdbcType=DECIMAL}, + + + VC_APPROVER = #{vcApprover,jdbcType=VARCHAR}, + + + N_RATIO = #{nRatio,jdbcType=DECIMAL}, + + + VC_ALL_APPROVERS = #{vcAllApprovers,jdbcType=VARCHAR}, + + + N_INDEX = #{nIndex,jdbcType=DECIMAL}, + + + N_JSSTANDARD_PRICE = #{nJsstandardPrice,jdbcType=DECIMAL}, + + + VCREMARK = #{vcremark,jdbcType=VARCHAR}, + + + where ILINEID = #{ilineid,jdbcType=DECIMAL} + + + + update T_PRICE_SHEET + set VC_PRICE_NO = #{vcPriceNo,jdbcType=VARCHAR}, + N_STATUS = #{nStatus,jdbcType=DECIMAL}, + DT_APPROVE = #{dtApprove,jdbcType=TIMESTAMP}, + N_CREATE_CONTRACT = #{nCreateContract,jdbcType=DECIMAL}, + N_ENABLE = #{nEnable,jdbcType=DECIMAL}, + I_FLEET_ID = #{iFleetId,jdbcType=DECIMAL}, + VC_FLEET_NAME = #{vcFleetName,jdbcType=VARCHAR}, + N_PAY_METHODE = #{nPayMethode,jdbcType=DECIMAL}, + N_PAYMENT_DAYS = #{nPaymentDays,jdbcType=DECIMAL}, + VC_OTHER_NOTE = #{vcOtherNote,jdbcType=VARCHAR}, + N_OTHER = #{nOther,jdbcType=DECIMAL}, + N_LEVEL = #{nLevel,jdbcType=DECIMAL}, + DT_DEADLLINE = #{dtDeadlline,jdbcType=TIMESTAMP}, + VC_ADD_USERNO = #{vcAddUserno,jdbcType=VARCHAR}, + N_ADD = #{nAdd,jdbcType=DECIMAL}, + DT_ADD = #{dtAdd,jdbcType=TIMESTAMP}, + VC_CREATE_USERNO = #{vcCreateUserno,jdbcType=VARCHAR}, + DT_CREATE = #{dtCreate,jdbcType=TIMESTAMP}, + N_STANDARD_PRICE = #{nStandardPrice,jdbcType=DECIMAL}, + N_PRICE = #{nPrice,jdbcType=DECIMAL}, + VC_APPROVER = #{vcApprover,jdbcType=VARCHAR}, + N_RATIO = #{nRatio,jdbcType=DECIMAL}, + VC_ALL_APPROVERS = #{vcAllApprovers,jdbcType=VARCHAR}, + N_INDEX = #{nIndex,jdbcType=DECIMAL}, + N_JSSTANDARD_PRICE = #{nJsstandardPrice,jdbcType=DECIMAL}, + VCREMARK = #{vcremark,jdbcType=VARCHAR} + where ILINEID = #{ilineid,jdbcType=DECIMAL} + + + + + + insert into T_PRICE_SHEET + + + ILINEID, + + + VC_PRICE_NO, + + + N_STATUS, + + + DT_APPROVE, + + + N_CREATE_CONTRACT, + + + N_ENABLE, + + + I_FLEET_ID, + + + VC_FLEET_NAME, + + + N_PAY_METHODE, + + + N_PAYMENT_DAYS, + + + VC_OTHER_NOTE, + + + N_OTHER, + + + N_LEVEL, + + + DT_DEADLLINE, + + + VC_ADD_USERNO, + + + N_ADD, + + + DT_ADD, + + + VC_CREATE_USERNO, + + + DT_CREATE, + + + N_STANDARD_PRICE, + + + N_PRICE, + + + VC_APPROVER, + + + N_RATIO, + + + VC_ALL_APPROVERS, + + + N_INDEX, + + + N_JSSTANDARD_PRICE, + + + VCREMARK, + + + ICOUNTTYPE, + + + BPRINT, + + + DT_START, + + + DT_END, + + + + + #{ilineid,jdbcType=DECIMAL}, + + + #{vcPriceNo,jdbcType=VARCHAR}, + + + #{nStatus,jdbcType=DECIMAL}, + + + #{dtApprove,jdbcType=TIMESTAMP}, + + + #{nCreateContract,jdbcType=DECIMAL}, + + + #{nEnable,jdbcType=DECIMAL}, + + + #{iFleetId,jdbcType=DECIMAL}, + + + #{vcFleetName,jdbcType=VARCHAR}, + + + #{nPayMethode,jdbcType=DECIMAL}, + + + #{nPaymentDays,jdbcType=DECIMAL}, + + + #{vcOtherNote,jdbcType=VARCHAR}, + + + #{nOther,jdbcType=DECIMAL}, + + + #{nLevel,jdbcType=DECIMAL}, + + + #{dtDeadlline,jdbcType=TIMESTAMP}, + + + #{vcAddUserno,jdbcType=VARCHAR}, + + + #{nAdd,jdbcType=DECIMAL}, + + + #{dtAdd,jdbcType=TIMESTAMP}, + + + #{vcCreateUserno,jdbcType=VARCHAR}, + + + #{dtCreate,jdbcType=TIMESTAMP}, + + + #{nStandardPrice,jdbcType=DECIMAL}, + + + #{nPrice,jdbcType=DECIMAL}, + + + #{vcApprover,jdbcType=VARCHAR}, + + + #{nRatio,jdbcType=DECIMAL}, + + + #{vcAllApprovers,jdbcType=VARCHAR}, + + + #{nIndex,jdbcType=DECIMAL}, + + + #{nJsstandardPrice,jdbcType=DECIMAL}, + + + #{vcremark,jdbcType=VARCHAR}, + + + #{iCountType,jdbcType=DECIMAL}, + + + #{bPrint,jdbcType=DECIMAL}, + + + #{dtStart,jdbcType=TIMESTAMP}, + + + #{dtEnd,jdbcType=TIMESTAMP}, + + + + \ No newline at end of file diff --git a/erp-hyc-interfaces-base/src/main/resources/mappers/TmtempcontractpassMapper.xml b/erp-hyc-interfaces-base/src/main/resources/mappers/TmtempcontractpassMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..512bad9ebb3c3e07002cb61ff397c2d69f1c9db7 --- /dev/null +++ b/erp-hyc-interfaces-base/src/main/resources/mappers/TmtempcontractpassMapper.xml @@ -0,0 +1,310 @@ + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + ILINEID, ISHIPID, IPASS, VCMEMO, VCUSERNO, DTDATE + + + + + + delete from TMTEMPCONTRACTPASS + where ILINEID = #{ilineid,jdbcType=DECIMAL} + + + + delete from TMTEMPCONTRACTPASS + + + + + + + + Orcal + + insert into TMTEMPCONTRACTPASS (ISHIPID, IPASS, VCMEMO, + VCUSERNO, DTDATE) + values (#{ishipid,jdbcType=DECIMAL}, #{ipass,jdbcType=DECIMAL}, #{vcmemo,jdbcType=VARCHAR}, + #{vcuserno,jdbcType=VARCHAR}, #{dtdate,jdbcType=TIMESTAMP}) + + + + insert into TMTEMPCONTRACTPASS + + + ILINEID, + + + ISHIPID, + + + IPASS, + + + VCMEMO, + + + VCUSERNO, + + + DTDATE, + + + + + #{ilineid,jdbcType=DECIMAL}, + + + #{ishipid,jdbcType=DECIMAL}, + + + #{ipass,jdbcType=DECIMAL}, + + + #{vcmemo,jdbcType=VARCHAR}, + + + #{vcuserno,jdbcType=VARCHAR}, + + + #{dtdate,jdbcType=TIMESTAMP}, + + + + + + + update TMTEMPCONTRACTPASS + + + ILINEID = #{record.ilineid,jdbcType=DECIMAL}, + + + ISHIPID = #{record.ishipid,jdbcType=DECIMAL}, + + + IPASS = #{record.ipass,jdbcType=DECIMAL}, + + + VCMEMO = #{record.vcmemo,jdbcType=VARCHAR}, + + + VCUSERNO = #{record.vcuserno,jdbcType=VARCHAR}, + + + DTDATE = #{record.dtdate,jdbcType=TIMESTAMP}, + + + + + + + + + update TMTEMPCONTRACTPASS + set ILINEID = #{record.ilineid,jdbcType=DECIMAL}, + ISHIPID = #{record.ishipid,jdbcType=DECIMAL}, + IPASS = #{record.ipass,jdbcType=DECIMAL}, + VCMEMO = #{record.vcmemo,jdbcType=VARCHAR}, + VCUSERNO = #{record.vcuserno,jdbcType=VARCHAR}, + DTDATE = #{record.dtdate,jdbcType=TIMESTAMP} + + + + + + + update TMTEMPCONTRACTPASS + + + ISHIPID = #{ishipid,jdbcType=DECIMAL}, + + + IPASS = #{ipass,jdbcType=DECIMAL}, + + + VCMEMO = #{vcmemo,jdbcType=VARCHAR}, + + + VCUSERNO = #{vcuserno,jdbcType=VARCHAR}, + + + DTDATE = #{dtdate,jdbcType=TIMESTAMP}, + + + where ILINEID = #{ilineid,jdbcType=DECIMAL} + + + + update TMTEMPCONTRACTPASS + set ISHIPID = #{ishipid,jdbcType=DECIMAL}, + IPASS = #{ipass,jdbcType=DECIMAL}, + VCMEMO = #{vcmemo,jdbcType=VARCHAR}, + VCUSERNO = #{vcuserno,jdbcType=VARCHAR}, + DTDATE = #{dtdate,jdbcType=TIMESTAMP} + where ILINEID = #{ilineid,jdbcType=DECIMAL} + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index fd3dbd50d2427f6d161249a3b9c4ae903cf8d245..76f57c1e3c54227a81f4e05b412f1caf3886302c 100644 --- a/pom.xml +++ b/pom.xml @@ -22,12 +22,16 @@ 4.2.5.RELEASE 1.0.0-SNAPSHOT 6.8 - 1.7.12 3.2.8 4.0.4.RELEASE https://git.oschina.net/unlcn-ils/sys.git 1.8 - 1.8 + 3.5 + 21.0 + 1.2.3 + 1.7.12 + 4.0.4.RELEASE + 2.6.6 @@ -122,11 +126,6 @@ mybatis ${mybatis.version} - - - - - com.oracle ojdbc6 @@ -175,7 +174,6 @@ ${spring.version} test - org.quartz-scheduler quartz @@ -307,11 +305,51 @@ 1.2.2 - com.github.miemiedev - mybatis-paginator - 1.2.15 + org.apache.commons + commons-lang3 + ${commons.lang.version} + + + com.google.guava + guava + ${guava.version} + + + ch.qos.logback + logback-classic + ${logback.version} + + + org.springframework.security + spring-security-web + ${spring-security.version} + + + org.springframework + spring-web + + + + + org.springframework.security + spring-security-config + ${spring-security.version} + + + com.fasterxml.jackson.core + jackson-annotations + ${jackson_version} + + + com.fasterxml.jackson.core + jackson-databind + ${jackson_version} + + + com.fasterxml.jackson.core + jackson-core + ${jackson_version} - @@ -361,6 +399,18 @@ + + + org.apache.maven.plugins + maven-compiler-plugin + 3.6.1 + + ${java.version} + ${java.version} + ${file.encoding} + + +