Merge branches 'ext-dev' and 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into ext-dev

yun-zuoyi
puxiao.liao 4 years ago
commit 3af79ea582

@ -31,10 +31,6 @@
<artifactId>fastjson</artifactId> <artifactId>fastjson</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId> <groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId> <artifactId>xstream</artifactId>
</dependency> </dependency>

@ -4,17 +4,14 @@ import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import lombok.Data; import lombok.Data;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType; import javax.persistence.*;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import org.hibernate.annotations.ColumnDefault; import org.hibernate.annotations.ColumnDefault;
import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate; import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import java.io.Serializable; import java.io.Serializable;
/** /**
@ -30,7 +27,12 @@ import java.io.Serializable;
@DynamicUpdate @DynamicUpdate
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Inheritance(strategy = InheritanceType.JOINED) @Inheritance(strategy = InheritanceType.JOINED)
@Table(name = "IF_PACKAGE_DETAIL") @Table(name = "IF_PACKAGE_DETAIL", indexes = {
@Index(columnList = "SERIAL_NUMBER"),
@Index(columnList = "PART_NO")
}, uniqueConstraints = {
@UniqueConstraint(columnNames = {"ORGANIZE_CODE", "SERIAL_NUMBER", "IF_CODE"})
})
@Api("包装明细表") @Api("包装明细表")
public class IfPackageDetail extends BaseBean implements Serializable { public class IfPackageDetail extends BaseBean implements Serializable {

@ -63,6 +63,11 @@ public class MesDataMigrationCfg extends BaseBean implements Serializable {
@ApiParam(value = "是否物理删除", example = "0") @ApiParam(value = "是否物理删除", example = "0")
private Integer isPhysicalDelete; private Integer isPhysicalDelete;
//枚举CommonEnumUtil.DATA_SOURCE_TYPE
@Column(name = "DATASOURCE_TYPE")
@ApiParam(value = "数据源类型")
private Integer dataSourceType;
@Column(name = "LAST_EXECUTION_TIME") @Column(name = "LAST_EXECUTION_TIME")
@ApiParam("末次迁移时间") @ApiParam("末次迁移时间")
private String lastExecutionTime; private String lastExecutionTime;

@ -129,6 +129,10 @@ public class MesKpData extends BaseBean implements Serializable {
@ApiParam("物料名称") @ApiParam("物料名称")
private String partName; private String partName;
@Transient
@ApiParam("数据范围")
private String torqueValRange;
public double getKeyDataCountVal() { public double getKeyDataCountVal() {
return this.keyDataCount == null ? 0 : this.keyDataCount; return this.keyDataCount == null ? 0 : this.keyDataCount;

@ -3,11 +3,13 @@ package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesPackageTravel; import cn.estsh.i3plus.pojo.mes.bean.MesPackageTravel;
import org.springframework.stereotype.Repository;
/** /**
* @Author: Wynne.Lu * @Author: Wynne.Lu
* @CreateDate: 2019/10/19 2:57 * @CreateDate: 2019/10/19 2:57
* @Description: * @Description:
**/ **/
@Repository
public interface MesPackageTravelRepository extends BaseRepository<MesPackageTravel, Long> { public interface MesPackageTravelRepository extends BaseRepository<MesPackageTravel, Long> {
} }

@ -29,10 +29,6 @@
<artifactId>i3plus-pojo-report</artifactId> <artifactId>i3plus-pojo-report</artifactId>
</dependency> </dependency>
<dependency>
<groupId>i3plus.pojo</groupId>
<artifactId>i3plus-pojo-form</artifactId>
</dependency>
<dependency> <dependency>
<groupId>i3plus.pojo</groupId> <groupId>i3plus.pojo</groupId>

Loading…
Cancel
Save