TASK:design new;
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.Collection;
|
||||
import com.ai.da.mapper.primary.entity.Collocation;
|
||||
import com.ai.da.python.vo.DesignPythonItem;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface CollocationMapper extends CommonMapper<Collocation> {
|
||||
|
||||
List<Collocation> getCollocationListBySketch(String apparel, String styleCategory);
|
||||
}
|
||||
11
src/main/java/com/ai/da/mapper/primary/DressingMapper.java
Normal file
11
src/main/java/com/ai/da/mapper/primary/DressingMapper.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.Dressing;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface DressingMapper extends CommonMapper<Dressing> {
|
||||
|
||||
List<String> getOtherSketchCategoryNameList(Long id, String styleCategory);
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.ai.da.mapper;
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.GenerateCancel;
|
||||
import com.ai.da.mapper.primary.entity.GenerateCancel;
|
||||
|
||||
public interface GenerateCancelMapper extends CommonMapper<GenerateCancel> {
|
||||
}
|
||||
@@ -1,8 +1,7 @@
|
||||
package com.ai.da.mapper;
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.Library;
|
||||
import com.ai.da.mapper.entity.LibraryCopy;
|
||||
import com.ai.da.mapper.primary.entity.LibraryCopy;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
@@ -1,8 +1,7 @@
|
||||
package com.ai.da.mapper;
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.LibraryModelPoint;
|
||||
import com.ai.da.mapper.entity.LibraryModelPointCopy;
|
||||
import com.ai.da.mapper.primary.entity.LibraryModelPointCopy;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
@@ -0,0 +1,44 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class BaseEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
private Integer isDeleted;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
// private Long userId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("collocation")
|
||||
public class Collocation implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* mood模板id
|
||||
*/
|
||||
private Integer isSystem;
|
||||
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
|
||||
private Integer isDeleted;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class CustomerData {
|
||||
private String mbrCode;
|
||||
private String mbrName;
|
||||
private String mbrMobile;
|
||||
private String mbrGroup;
|
||||
private String mbrStatus;
|
||||
private Date joinDate;
|
||||
private String mbrIssue;
|
||||
private int birthMonth;
|
||||
private String mbrSex;
|
||||
private double offBonus;
|
||||
private double effBonus;
|
||||
private double sumBonus;
|
||||
|
||||
private double lastMonth;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.ai.da.mapper.secondary.entity;
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
@@ -8,18 +8,23 @@ import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("female_dress")
|
||||
public class FemaleDress implements Serializable {
|
||||
@TableName("dressing")
|
||||
public class Dressing implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
private String imgName;
|
||||
}
|
||||
|
||||
private String apparel;
|
||||
private String styleCategory;
|
||||
private String ageGroup;
|
||||
private String position;
|
||||
private Integer priority;
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.ai.da.mapper.entity;
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Attendance
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("t_library_copy")
|
||||
public class LibraryCopy implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private Long accountId;
|
||||
|
||||
/**
|
||||
* 一级类型
|
||||
*/
|
||||
private String level1Type;
|
||||
|
||||
/**
|
||||
* 二级类型
|
||||
*/
|
||||
private String level2Type;
|
||||
|
||||
private String level3Type;
|
||||
|
||||
/**
|
||||
* 元素名
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 元素存放地址
|
||||
*/
|
||||
private String url;
|
||||
/**
|
||||
* md5值
|
||||
*/
|
||||
private String md5;
|
||||
/**
|
||||
* 图片高度,目前只争对 models类型
|
||||
*/
|
||||
private Integer high;
|
||||
/**
|
||||
* 图片宽度,目前只争对 models类型
|
||||
*/
|
||||
private Integer width;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
|
||||
// private Integer isCopy;
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Attendance
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-11-13
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("t_library_model_point_copy")
|
||||
public class LibraryModelPointCopy implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* modelType
|
||||
*/
|
||||
private String modelType;
|
||||
|
||||
/**
|
||||
* 关联的 library或sys Id
|
||||
*/
|
||||
private Long libraryId;
|
||||
|
||||
/**
|
||||
* 左肩
|
||||
*/
|
||||
private String shoulderLeft;
|
||||
|
||||
/**
|
||||
* 右肩
|
||||
*/
|
||||
private String shoulderRight;
|
||||
|
||||
/**
|
||||
* 左腰
|
||||
*/
|
||||
private String waistbandLeft;
|
||||
|
||||
/**
|
||||
* 右腰
|
||||
*/
|
||||
private String waistbandRight;
|
||||
/**
|
||||
* 左手
|
||||
*/
|
||||
private String handLeft;
|
||||
|
||||
/**
|
||||
* 右手
|
||||
*/
|
||||
private String handRight;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@Data
|
||||
public class TransactionData {
|
||||
private String trxNo;
|
||||
private Timestamp trxDate;
|
||||
private String trxType;
|
||||
private String trxStatus;
|
||||
private double trxTotQty;
|
||||
private String currCode;
|
||||
private double exchRate;
|
||||
private double discountPerc;
|
||||
private double trxAccAmt;
|
||||
private double trxBasAmt;
|
||||
private double outstandAmt;
|
||||
private double receiveAmt;
|
||||
private double changeAmt;
|
||||
private double trxTotBonus;
|
||||
private String depositNo;
|
||||
private double depositAmt;
|
||||
private String depositStatus;
|
||||
private String trxAmtDesc;
|
||||
private String remark;
|
||||
private String shCode;
|
||||
private String whCodeFrom;
|
||||
private String whCodeTo;
|
||||
private String issuedBy;
|
||||
private String clientCode;
|
||||
private String clientName;
|
||||
private String salesmanCode;
|
||||
private String ctypeCode;
|
||||
private Timestamp updatedOn;
|
||||
private String docType;
|
||||
private String refNo;
|
||||
private String adjType;
|
||||
private String refType;
|
||||
private String orderNo;
|
||||
private String recoverF;
|
||||
private String recoverT;
|
||||
private String requestBy;
|
||||
private String error;
|
||||
private Timestamp authorizedDate;
|
||||
private String authorizedBy;
|
||||
private String changeCurrCode;
|
||||
private double chgRate;
|
||||
private String cashier;
|
||||
private String cashiNo;
|
||||
private String salesmanCode2;
|
||||
private String classId;
|
||||
private double disAmt;
|
||||
private String acStatus;
|
||||
private String reprint;
|
||||
private String alt1;
|
||||
private String alt2;
|
||||
private String alt3;
|
||||
private String alt4;
|
||||
private String alt5;
|
||||
private Date altD1;
|
||||
private Date altD2;
|
||||
private Date altD3;
|
||||
private Date altD4;
|
||||
private Date altD5;
|
||||
private String salesmanCode3;
|
||||
private String contractNo;
|
||||
private Timestamp expireDate;
|
||||
private double depositNetAmt;
|
||||
private String clientRestriction;
|
||||
private String refStatus;
|
||||
private double mbrDis;
|
||||
private double pmtDiscount;
|
||||
private double pmtAmount;
|
||||
private String pmtNo;
|
||||
private String refCode;
|
||||
private String docApproved;
|
||||
private String refractionNo;
|
||||
private double ccpTot;
|
||||
private double ccpRed;
|
||||
private double ccpExpired;
|
||||
private int printedTimes;
|
||||
private String pickupShop;
|
||||
private Date deliveryDate;
|
||||
private String deliveryTime;
|
||||
private String wsCode;
|
||||
private String clCode;
|
||||
private String clDesc;
|
||||
private String ratio;
|
||||
private String userMember;
|
||||
private String hflag;
|
||||
private String issueShop;
|
||||
private String hoUpdBy;
|
||||
private Timestamp hoUpdOn;
|
||||
private double bonusExpired;
|
||||
private double bonusRed;
|
||||
private Timestamp confirmedOn;
|
||||
private String confirmedBy;
|
||||
private String docConfirmed;
|
||||
private String brNo;
|
||||
private double changeAmt2;
|
||||
private Date salesDate;
|
||||
private String mbrName;
|
||||
private String canEntryDis;
|
||||
private String reactiveClient;
|
||||
private String reactiveMbr;
|
||||
private String shUpdBy;
|
||||
private Timestamp shUpdOn;
|
||||
private double tax1;
|
||||
private double tax2;
|
||||
private double tax3;
|
||||
private double tax4;
|
||||
private double tax5;
|
||||
private String altChar1;
|
||||
private String altChar2;
|
||||
private String altChar3;
|
||||
private String altChar4;
|
||||
private String altChar5;
|
||||
private double altNum1;
|
||||
private double altNum2;
|
||||
private double altNum3;
|
||||
private double altNum4;
|
||||
private double altNum5;
|
||||
private String newClient;
|
||||
private String newMbr;
|
||||
private double pmtExtraDiscount;
|
||||
private double pmtExtraAmount;
|
||||
private double manualDiscount;
|
||||
private double manualAmount;
|
||||
private double usermbrDiscount;
|
||||
private double clientDiscount;
|
||||
private String holdVoid;
|
||||
private double payBasAmt;
|
||||
private String payDesc;
|
||||
private String payCode;
|
||||
private String cardNo;
|
||||
private String payCurr;
|
||||
private double payCurrAmt;
|
||||
private String onbehalfPaid;
|
||||
private String onbehalfLoc;
|
||||
private String oldCardNo;
|
||||
private int trxYear;
|
||||
private int trxMonth;
|
||||
|
||||
private double sumAmt;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.ai.da.mapper.secondary;
|
||||
|
||||
import com.ai.da.mapper.secondary.entity.AttributeRetrieval;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
|
||||
@Mapper
|
||||
public interface AttributeRetrievalMapper {
|
||||
|
||||
|
||||
List<AttributeRetrieval> getSystemSketchPool(@Param("attributeRetrievalAttrDict") AttributeRetrieval attributeRetrievalAttrDict, @Param("tableName") String tableName, @Param("poolNum") int poolNum);
|
||||
|
||||
AttributeRetrieval getSystemRandom(String tableName);
|
||||
|
||||
List<AttributeRetrieval> getSystemSketchPoolBySameCategory(AttributeRetrieval attributeRetrievalAttrDict, String tableName);
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.ai.da.mapper.secondary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.secondary.entity.FemaleDress;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface FemaleDressMapper extends CommonMapper<FemaleDress> {
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.ai.da.mapper.secondary.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class AttributeRecognitionJSON {
|
||||
private Long id;
|
||||
private List<String> imgName;
|
||||
private List<String> length;
|
||||
private List<String> sleeveLength;
|
||||
private List<String> sleeveShape;
|
||||
private List<String> sleeveShoulder;
|
||||
private List<String> neckline;
|
||||
private List<String> collar;
|
||||
private List<String> design;
|
||||
private List<String> silhouette;
|
||||
private List<String> type;
|
||||
private List<String> openingType;
|
||||
private List<String> subtype;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.ai.da.mapper.secondary.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class AttributeRetrieval {
|
||||
private Long id;
|
||||
private String imgName;
|
||||
private String length;
|
||||
private String sleeveLength;
|
||||
private String sleeveShape;
|
||||
private String sleeveShoulder;
|
||||
private String neckline;
|
||||
private String collar;
|
||||
private String design;
|
||||
private String silhouette;
|
||||
private String type;
|
||||
private String openingType;
|
||||
private String subtype;
|
||||
|
||||
private String sleeve;
|
||||
private String sleeve1;
|
||||
private String sleeve2;
|
||||
}
|
||||
Reference in New Issue
Block a user