Commit 09ea95f7 by huluobin

# 采购

parent 84333dff
package com.bailuntec.domain.dto; package com.bailuntec.domain.dto;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data; import lombok.Data;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
@Data @Data
public class PurchaseDetailDTO { public class PurchaseDetailDTO {
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.purchase_id * This field corresponds to the database column dc_base_purchase_details.purchase_id
* *
...@@ -21,7 +20,6 @@ public class PurchaseDetailDTO { ...@@ -21,7 +20,6 @@ public class PurchaseDetailDTO {
private String purchaseId; private String purchaseId;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.status * This field corresponds to the database column dc_base_purchase_details.status
* *
...@@ -31,7 +29,6 @@ public class PurchaseDetailDTO { ...@@ -31,7 +29,6 @@ public class PurchaseDetailDTO {
private Integer status; private Integer status;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.purchase_category_name * This field corresponds to the database column dc_base_purchase_details.purchase_category_name
* *
...@@ -41,7 +38,6 @@ public class PurchaseDetailDTO { ...@@ -41,7 +38,6 @@ public class PurchaseDetailDTO {
private String purchaseCategoryName; private String purchaseCategoryName;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.deliver_id * This field corresponds to the database column dc_base_purchase_details.deliver_id
* *
...@@ -51,7 +47,6 @@ public class PurchaseDetailDTO { ...@@ -51,7 +47,6 @@ public class PurchaseDetailDTO {
private Integer deliverId; private Integer deliverId;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.deliver_name * This field corresponds to the database column dc_base_purchase_details.deliver_name
* *
...@@ -64,7 +59,6 @@ public class PurchaseDetailDTO { ...@@ -64,7 +59,6 @@ public class PurchaseDetailDTO {
private Integer deliverValue; private Integer deliverValue;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.buyer_name * This field corresponds to the database column dc_base_purchase_details.buyer_name
* *
...@@ -74,7 +68,6 @@ public class PurchaseDetailDTO { ...@@ -74,7 +68,6 @@ public class PurchaseDetailDTO {
private String buyerName; private String buyerName;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.warehouse_from_code * This field corresponds to the database column dc_base_purchase_details.warehouse_from_code
* *
...@@ -84,7 +77,6 @@ public class PurchaseDetailDTO { ...@@ -84,7 +77,6 @@ public class PurchaseDetailDTO {
private String warehouseFromCode; private String warehouseFromCode;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.warehouse_from_name * This field corresponds to the database column dc_base_purchase_details.warehouse_from_name
* *
...@@ -94,7 +86,6 @@ public class PurchaseDetailDTO { ...@@ -94,7 +86,6 @@ public class PurchaseDetailDTO {
private String warehouseFromName; private String warehouseFromName;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.warehouse_into_code * This field corresponds to the database column dc_base_purchase_details.warehouse_into_code
* *
...@@ -104,7 +95,6 @@ public class PurchaseDetailDTO { ...@@ -104,7 +95,6 @@ public class PurchaseDetailDTO {
private String warehouseIntoCode; private String warehouseIntoCode;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.warehouse_into_name * This field corresponds to the database column dc_base_purchase_details.warehouse_into_name
* *
...@@ -114,7 +104,6 @@ public class PurchaseDetailDTO { ...@@ -114,7 +104,6 @@ public class PurchaseDetailDTO {
private String warehouseIntoName; private String warehouseIntoName;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.bailun_sku * This field corresponds to the database column dc_base_purchase_details.bailun_sku
* *
...@@ -124,7 +113,6 @@ public class PurchaseDetailDTO { ...@@ -124,7 +113,6 @@ public class PurchaseDetailDTO {
private String bailunSku; private String bailunSku;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.quantity_purchase * This field corresponds to the database column dc_base_purchase_details.quantity_purchase
* *
...@@ -134,7 +122,6 @@ public class PurchaseDetailDTO { ...@@ -134,7 +122,6 @@ public class PurchaseDetailDTO {
private Integer quantityPurchase; private Integer quantityPurchase;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.unit_price * This field corresponds to the database column dc_base_purchase_details.unit_price
* *
...@@ -144,7 +131,6 @@ public class PurchaseDetailDTO { ...@@ -144,7 +131,6 @@ public class PurchaseDetailDTO {
private BigDecimal unitPrice; private BigDecimal unitPrice;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.amount_paid * This field corresponds to the database column dc_base_purchase_details.amount_paid
* *
...@@ -154,7 +140,6 @@ public class PurchaseDetailDTO { ...@@ -154,7 +140,6 @@ public class PurchaseDetailDTO {
private BigDecimal amountPaid; private BigDecimal amountPaid;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.currency_code * This field corresponds to the database column dc_base_purchase_details.currency_code
* *
...@@ -164,7 +149,6 @@ public class PurchaseDetailDTO { ...@@ -164,7 +149,6 @@ public class PurchaseDetailDTO {
private String currencyCode; private String currencyCode;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.currency_name * This field corresponds to the database column dc_base_purchase_details.currency_name
* *
...@@ -174,7 +158,6 @@ public class PurchaseDetailDTO { ...@@ -174,7 +158,6 @@ public class PurchaseDetailDTO {
private String currencyName; private String currencyName;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.quantity_return * This field corresponds to the database column dc_base_purchase_details.quantity_return
* *
...@@ -184,7 +167,6 @@ public class PurchaseDetailDTO { ...@@ -184,7 +167,6 @@ public class PurchaseDetailDTO {
private Integer quantityReturn; private Integer quantityReturn;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.quantity_inbound * This field corresponds to the database column dc_base_purchase_details.quantity_inbound
* *
...@@ -194,7 +176,6 @@ public class PurchaseDetailDTO { ...@@ -194,7 +176,6 @@ public class PurchaseDetailDTO {
private Integer quantityInbound; private Integer quantityInbound;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.quantity_deliver * This field corresponds to the database column dc_base_purchase_details.quantity_deliver
* *
...@@ -204,7 +185,6 @@ public class PurchaseDetailDTO { ...@@ -204,7 +185,6 @@ public class PurchaseDetailDTO {
private Integer quantityDeliver; private Integer quantityDeliver;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.quantity_not_deliver * This field corresponds to the database column dc_base_purchase_details.quantity_not_deliver
* *
...@@ -214,7 +194,6 @@ public class PurchaseDetailDTO { ...@@ -214,7 +194,6 @@ public class PurchaseDetailDTO {
private Integer quantityNotDeliver; private Integer quantityNotDeliver;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.quantity_arrival * This field corresponds to the database column dc_base_purchase_details.quantity_arrival
* *
...@@ -224,7 +203,6 @@ public class PurchaseDetailDTO { ...@@ -224,7 +203,6 @@ public class PurchaseDetailDTO {
private Integer quantityArrival; private Integer quantityArrival;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.quantity_not_arrival * This field corresponds to the database column dc_base_purchase_details.quantity_not_arrival
* *
...@@ -234,7 +212,6 @@ public class PurchaseDetailDTO { ...@@ -234,7 +212,6 @@ public class PurchaseDetailDTO {
private Integer quantityNotArrival; private Integer quantityNotArrival;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.quantity_inspect * This field corresponds to the database column dc_base_purchase_details.quantity_inspect
* *
...@@ -244,7 +221,6 @@ public class PurchaseDetailDTO { ...@@ -244,7 +221,6 @@ public class PurchaseDetailDTO {
private Integer quantityInspect; private Integer quantityInspect;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.quantity_qualified_inspect * This field corresponds to the database column dc_base_purchase_details.quantity_qualified_inspect
* *
...@@ -254,7 +230,6 @@ public class PurchaseDetailDTO { ...@@ -254,7 +230,6 @@ public class PurchaseDetailDTO {
private Integer quantityQualifiedInspect; private Integer quantityQualifiedInspect;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.quantity_unqualified_inspect * This field corresponds to the database column dc_base_purchase_details.quantity_unqualified_inspect
* *
...@@ -264,7 +239,6 @@ public class PurchaseDetailDTO { ...@@ -264,7 +239,6 @@ public class PurchaseDetailDTO {
private Integer quantityUnqualifiedInspect; private Integer quantityUnqualifiedInspect;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.quantity_wait_transfer * This field corresponds to the database column dc_base_purchase_details.quantity_wait_transfer
* *
...@@ -274,7 +248,6 @@ public class PurchaseDetailDTO { ...@@ -274,7 +248,6 @@ public class PurchaseDetailDTO {
private Integer quantityWaitTransfer; private Integer quantityWaitTransfer;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.quantity_exchange * This field corresponds to the database column dc_base_purchase_details.quantity_exchange
* *
...@@ -284,7 +257,6 @@ public class PurchaseDetailDTO { ...@@ -284,7 +257,6 @@ public class PurchaseDetailDTO {
private Integer quantityExchange; private Integer quantityExchange;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.quantity_lose_inbound * This field corresponds to the database column dc_base_purchase_details.quantity_lose_inbound
* *
...@@ -294,7 +266,6 @@ public class PurchaseDetailDTO { ...@@ -294,7 +266,6 @@ public class PurchaseDetailDTO {
private Integer quantityLoseInbound; private Integer quantityLoseInbound;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.create_time * This field corresponds to the database column dc_base_purchase_details.create_time
* *
...@@ -304,7 +275,6 @@ public class PurchaseDetailDTO { ...@@ -304,7 +275,6 @@ public class PurchaseDetailDTO {
private String createTimed; private String createTimed;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.update_time * This field corresponds to the database column dc_base_purchase_details.update_time
* *
...@@ -315,7 +285,6 @@ public class PurchaseDetailDTO { ...@@ -315,7 +285,6 @@ public class PurchaseDetailDTO {
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.alibaba_order_id * This field corresponds to the database column dc_base_purchase_details.alibaba_order_id
* *
...@@ -325,7 +294,6 @@ public class PurchaseDetailDTO { ...@@ -325,7 +294,6 @@ public class PurchaseDetailDTO {
private String alibabaOrderId; private String alibabaOrderId;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.logistics_order_id * This field corresponds to the database column dc_base_purchase_details.logistics_order_id
* *
...@@ -335,7 +303,6 @@ public class PurchaseDetailDTO { ...@@ -335,7 +303,6 @@ public class PurchaseDetailDTO {
private String logisticsOrderId; private String logisticsOrderId;
/** /**
*
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.logistics_company_name * This field corresponds to the database column dc_base_purchase_details.logistics_company_name
* *
...@@ -383,5 +350,10 @@ public class PurchaseDetailDTO { ...@@ -383,5 +350,10 @@ public class PurchaseDetailDTO {
@JSONField(name = "createusername") @JSONField(name = "createusername")
private String createusername; private String createusername;
@JSONField(name = "can_7day_refund")
@JsonProperty("can_7day_refund")
private Integer can7dayRefund;
} }
...@@ -3,14 +3,9 @@ package com.bailuntec.job; ...@@ -3,14 +3,9 @@ package com.bailuntec.job;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference; import com.alibaba.fastjson.TypeReference;
import com.bailuntec.domain.constant.CommonConstant;
import com.bailuntec.domain.dto.PurchaseDetailAimsDTO; import com.bailuntec.domain.dto.PurchaseDetailAimsDTO;
import com.bailuntec.domain.dto.PurchaseDetailDTO;
import com.bailuntec.domain.entity.DcBasePurchaseDetails;
import com.bailuntec.domain.entity.JobPointLog; import com.bailuntec.domain.entity.JobPointLog;
import com.bailuntec.domain.example.DcBasePurchaseDetailsExample;
import com.bailuntec.mapper.DcBasePurchaseDetailsMapper; import com.bailuntec.mapper.DcBasePurchaseDetailsMapper;
import com.bailuntec.mapper.JobPointLogMapper;
import com.bailuntec.support.PointJob; import com.bailuntec.support.PointJob;
import com.bailuntec.utils.OkHttpUtil; import com.bailuntec.utils.OkHttpUtil;
import com.bailuntec.utils.PropertiesUtil; import com.bailuntec.utils.PropertiesUtil;
...@@ -18,12 +13,10 @@ import com.bailuntec.utils.SessionUtil; ...@@ -18,12 +13,10 @@ import com.bailuntec.utils.SessionUtil;
import com.dangdang.ddframe.job.api.ShardingContext; import com.dangdang.ddframe.job.api.ShardingContext;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import okhttp3.*; import okhttp3.*;
import org.apache.commons.beanutils.BeanUtils;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import java.io.IOException; import java.io.IOException;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
import java.util.List; import java.util.List;
......
package com.bailuntec.domain.entity; package com.bailuntec.domain.entity;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Date; import lombok.Data;
@Data @Data
public class DcBasePurchaseDetails { public class DcBasePurchaseDetails {
...@@ -34,7 +31,7 @@ public class DcBasePurchaseDetails { ...@@ -34,7 +31,7 @@ public class DcBasePurchaseDetails {
* *
* @mbg.generated * @mbg.generated
*/ */
private Integer status; private Byte status;
/** /**
* *
...@@ -376,7 +373,7 @@ public class DcBasePurchaseDetails { ...@@ -376,7 +373,7 @@ public class DcBasePurchaseDetails {
* *
* @mbg.generated * @mbg.generated
*/ */
private Integer isallot; private Byte isallot;
/** /**
* *
...@@ -412,7 +409,7 @@ public class DcBasePurchaseDetails { ...@@ -412,7 +409,7 @@ public class DcBasePurchaseDetails {
* *
* @mbg.generated * @mbg.generated
*/ */
private Date lastSigntime; private LocalDateTime lastSigntime;
/** /**
* *
...@@ -423,18 +420,52 @@ public class DcBasePurchaseDetails { ...@@ -423,18 +420,52 @@ public class DcBasePurchaseDetails {
*/ */
private Integer arrivalStatus; private Integer arrivalStatus;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.amount_buy
*
* @mbg.generated
*/
private BigDecimal amountBuy;
private Integer amountBuy; /**
*
* This field was generated by MyBatis Generator.
private Integer amountPayed; * This field corresponds to the database column dc_base_purchase_details.amount_payed
*
* @mbg.generated
*/
private BigDecimal amountPayed;
private Integer amountExpress; /**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.amount_express
*
* @mbg.generated
*/
private BigDecimal amountExpress;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.createusername
*
* @mbg.generated
*/
private String createusername; private String createusername;
/** /**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.can_7day_refund
*
* @mbg.generated
*/
private Integer can7dayRefund;
/**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_purchase_details * This method corresponds to the database table dc_base_purchase_details
* *
...@@ -492,6 +523,11 @@ public class DcBasePurchaseDetails { ...@@ -492,6 +523,11 @@ public class DcBasePurchaseDetails {
sb.append(", payStatus=").append(payStatus); sb.append(", payStatus=").append(payStatus);
sb.append(", lastSigntime=").append(lastSigntime); sb.append(", lastSigntime=").append(lastSigntime);
sb.append(", arrivalStatus=").append(arrivalStatus); sb.append(", arrivalStatus=").append(arrivalStatus);
sb.append(", amountBuy=").append(amountBuy);
sb.append(", amountPayed=").append(amountPayed);
sb.append(", amountExpress=").append(amountExpress);
sb.append(", createusername=").append(createusername);
sb.append(", can7dayRefund=").append(can7dayRefund);
sb.append("]"); sb.append("]");
return sb.toString(); return sb.toString();
} }
...@@ -559,7 +595,12 @@ public class DcBasePurchaseDetails { ...@@ -559,7 +595,12 @@ public class DcBasePurchaseDetails {
&& (this.getPayType() == null ? other.getPayType() == null : this.getPayType().equals(other.getPayType())) && (this.getPayType() == null ? other.getPayType() == null : this.getPayType().equals(other.getPayType()))
&& (this.getPayStatus() == null ? other.getPayStatus() == null : this.getPayStatus().equals(other.getPayStatus())) && (this.getPayStatus() == null ? other.getPayStatus() == null : this.getPayStatus().equals(other.getPayStatus()))
&& (this.getLastSigntime() == null ? other.getLastSigntime() == null : this.getLastSigntime().equals(other.getLastSigntime())) && (this.getLastSigntime() == null ? other.getLastSigntime() == null : this.getLastSigntime().equals(other.getLastSigntime()))
&& (this.getArrivalStatus() == null ? other.getArrivalStatus() == null : this.getArrivalStatus().equals(other.getArrivalStatus())); && (this.getArrivalStatus() == null ? other.getArrivalStatus() == null : this.getArrivalStatus().equals(other.getArrivalStatus()))
&& (this.getAmountBuy() == null ? other.getAmountBuy() == null : this.getAmountBuy().equals(other.getAmountBuy()))
&& (this.getAmountPayed() == null ? other.getAmountPayed() == null : this.getAmountPayed().equals(other.getAmountPayed()))
&& (this.getAmountExpress() == null ? other.getAmountExpress() == null : this.getAmountExpress().equals(other.getAmountExpress()))
&& (this.getCreateusername() == null ? other.getCreateusername() == null : this.getCreateusername().equals(other.getCreateusername()))
&& (this.getCan7dayRefund() == null ? other.getCan7dayRefund() == null : this.getCan7dayRefund().equals(other.getCan7dayRefund()));
} }
/** /**
...@@ -618,6 +659,11 @@ public class DcBasePurchaseDetails { ...@@ -618,6 +659,11 @@ public class DcBasePurchaseDetails {
result = prime * result + ((getPayStatus() == null) ? 0 : getPayStatus().hashCode()); result = prime * result + ((getPayStatus() == null) ? 0 : getPayStatus().hashCode());
result = prime * result + ((getLastSigntime() == null) ? 0 : getLastSigntime().hashCode()); result = prime * result + ((getLastSigntime() == null) ? 0 : getLastSigntime().hashCode());
result = prime * result + ((getArrivalStatus() == null) ? 0 : getArrivalStatus().hashCode()); result = prime * result + ((getArrivalStatus() == null) ? 0 : getArrivalStatus().hashCode());
result = prime * result + ((getAmountBuy() == null) ? 0 : getAmountBuy().hashCode());
result = prime * result + ((getAmountPayed() == null) ? 0 : getAmountPayed().hashCode());
result = prime * result + ((getAmountExpress() == null) ? 0 : getAmountExpress().hashCode());
result = prime * result + ((getCreateusername() == null) ? 0 : getCreateusername().hashCode());
result = prime * result + ((getCan7dayRefund() == null) ? 0 : getCan7dayRefund().hashCode());
return result; return result;
} }
} }
\ No newline at end of file
package com.bailuntec.mapper; package com.bailuntec.mapper;
import com.bailuntec.domain.dto.PurchaseDetailAimsDTO;
import com.bailuntec.domain.entity.DcBasePurchaseDetails; import com.bailuntec.domain.entity.DcBasePurchaseDetails;
import com.bailuntec.domain.example.DcBasePurchaseDetailsExample; import com.bailuntec.domain.example.DcBasePurchaseDetailsExample;
import org.apache.ibatis.annotations.Param;
import java.util.List; import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface DcBasePurchaseDetailsMapper { public interface DcBasePurchaseDetailsMapper {
/** /**
...@@ -122,10 +120,4 @@ public interface DcBasePurchaseDetailsMapper { ...@@ -122,10 +120,4 @@ public interface DcBasePurchaseDetailsMapper {
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
int upsertSelective(DcBasePurchaseDetails record); int upsertSelective(DcBasePurchaseDetails record);
long getCount();
List<String> selectPageByGroup(@Param("pageIndex") int pageIndex, @Param("pageSize") int pageSize);
int updateByBuyNo(@Param("isaims") int isaims, @Param("purchaseId") String purchaseId);
} }
\ No newline at end of file
table-name=dc_aims_transfer_warehouse_sales table-name=dc_base_purchase_details
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment