Merge remote-tracking branch 'remotes/origin/dev' into test
# Conflicts: # modules/i3plus-pojo-andon/pom.xml # modules/i3plus-pojo-aps/pom.xml # modules/i3plus-pojo-base/pom.xml # modules/i3plus-pojo-form/pom.xml # modules/i3plus-pojo-hardswitch/pom.xml # modules/i3plus-pojo-jobflow/pom.xml # modules/i3plus-pojo-lac/pom.xml # modules/i3plus-pojo-mes-pcn/pom.xml # modules/i3plus-pojo-mes/pom.xml # modules/i3plus-pojo-model/pom.xml # modules/i3plus-pojo-platform/pom.xml # modules/i3plus-pojo-ptl/pom.xml # modules/i3plus-pojo-report/pom.xml # modules/i3plus-pojo-softswitch/pom.xml # modules/i3plus-pojo-sweb/pom.xml # modules/i3plus-pojo-wms/pom.xml # modules/i3plus-pojo-workflow/pom.xml # pom.xmlyun-zuoyi
commit
2772ea6a2f
@ -0,0 +1,43 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/9 0009 - 17:58
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SCATTER_CFG_DETAIL")
|
||||
@Api("MES_散件配置报文关系")
|
||||
public class MesScatterCfgDetail extends BaseBean implements Serializable {
|
||||
|
||||
@Column(name = "SP_CFG_CODE")
|
||||
@ApiParam("散件配置编码")
|
||||
private String spCfgCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("散件产品代码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("用量")
|
||||
private BigDecimal qty;
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :MES工装明细
|
||||
* @Reference :
|
||||
* @Author : qianhuasheng
|
||||
* @CreateDate : 2020-03-19
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_TOOLING_DETAIL")
|
||||
@Api("MES_工装明细")
|
||||
public class MesToolingDetail extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5033127912653649665L;
|
||||
|
||||
@Column(name = "TOOLING_NO")
|
||||
@ApiParam("工装编号")
|
||||
private String toolingNo;
|
||||
|
||||
@Column(name = "TOOLING_CODE ")
|
||||
@ApiParam("工装代码")
|
||||
private String toolingCode ;
|
||||
|
||||
@Column(name = "TOOLING_NAME")
|
||||
@ApiParam("工装名称")
|
||||
private String toolingName;
|
||||
|
||||
@Column(name = "TOOLING_TYPE")
|
||||
@ApiParam("工装类型")
|
||||
private Integer toolingType;
|
||||
|
||||
@Column(name = "USE_COUNT")
|
||||
@ApiParam("使用次数")
|
||||
private Integer useCount;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/30 22:18
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class FsmStatusModel {
|
||||
|
||||
private String from;
|
||||
|
||||
private String to;
|
||||
|
||||
private String event;
|
||||
|
||||
private Object context;
|
||||
|
||||
private String status;
|
||||
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description : 产品流程配置Model
|
||||
* @Reference :
|
||||
* @Author : adair
|
||||
* @CreateDate : 2020-4-2
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class MesRouteCfgModel {
|
||||
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("产品生产类型")
|
||||
private String pptCode;
|
||||
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 产品流程配置参数Model
|
||||
* @Reference :
|
||||
* @Author : adair
|
||||
* @CreateDate : 2020-4-2
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class MesRouteCfgParamModel {
|
||||
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@ApiParam("是否执行 1=是 2=否")
|
||||
private Integer isActive;
|
||||
|
||||
List<MesRouteCfgStepModel> stepModelList;
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 产品流程配置Model
|
||||
* @Reference :
|
||||
* @Author : adair
|
||||
* @CreateDate : 2020-4-2
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class MesRouteCfgStepModel {
|
||||
|
||||
@ApiParam("工步代码")
|
||||
private String stepCode;
|
||||
|
||||
List<MesRouteCfgModel> routeCfgModelList;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.MesPcnEnumUtil;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/31 18:41
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class StationRequestCmdBean {
|
||||
|
||||
private StationRequestBean requestBean;
|
||||
|
||||
private MesPcnEnumUtil.STATION_REQUEST_BEAN_CMD cmd;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesStateMachineStatus;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate:2019\10\9
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesStateMachineStatusRepository extends BaseRepository<MesStateMachineStatus, Long> {
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package cn.estsh.i3plus.pojo.model.form;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.BlockFormEnumUtil;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description : 表单操作数据模型
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-04-02 10:22
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("表单操作数据模型")
|
||||
@NoArgsConstructor
|
||||
public class FormOperateDataModel {
|
||||
|
||||
@ApiModelProperty("元素代码")
|
||||
private Long refId;
|
||||
|
||||
@ApiModelProperty("元素名称")
|
||||
private String refName;
|
||||
|
||||
@ApiModelProperty("操作来源")
|
||||
@AnnoOutputColumn(refClass = BlockFormEnumUtil.FORM_TRIGGER_SOURCE.class)
|
||||
private String triggerSource;
|
||||
|
||||
@ApiModelProperty("来源名称")
|
||||
private String sourceName;
|
||||
|
||||
@ApiModelProperty("操作数据集合")
|
||||
private List<Map<String,String>> operateDataList;
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package cn.estsh.i3plus.pojo.model.report;
|
||||
|
||||
import cn.estsh.i3plus.pojo.report.bean.BrElement;
|
||||
import cn.estsh.i3plus.pojo.report.bean.BrLayout;
|
||||
import cn.estsh.i3plus.pojo.report.bean.BrRefReport;
|
||||
import cn.estsh.i3plus.pojo.report.bean.BrReport;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-3-24 下午3:28
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class BrDynamicPageModel {
|
||||
|
||||
@ApiParam(value ="报表信息")
|
||||
private BrReport report;
|
||||
|
||||
@ApiParam(value ="布局信息")
|
||||
private BrLayout layout;
|
||||
|
||||
@ApiParam(value = "报表排版关系")
|
||||
private List<BrRefReport> refReportList;
|
||||
|
||||
@ApiParam(value ="页面元素内容")
|
||||
private List<BrElement> elementList;
|
||||
|
||||
@ApiParam(value ="页面元素内容")
|
||||
private List<TemplateModel> templateModelList;
|
||||
|
||||
}
|
@ -1,116 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.platform.sqlpack;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.tool.BsonPackTool;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.platform.platbean.SysLogException;
|
||||
import cn.estsh.i3plus.pojo.platform.platbean.SysLogOperate;
|
||||
import cn.estsh.i3plus.pojo.platform.platbean.SysLogSystem;
|
||||
import cn.estsh.i3plus.pojo.platform.platbean.SysLogTaskTime;
|
||||
import com.mongodb.BasicDBObject;
|
||||
import org.bson.conversions.Bson;
|
||||
|
||||
/**
|
||||
* @Description : Bson对象封装
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2018-11-08 13:15
|
||||
* @Modify:
|
||||
**/
|
||||
public class CoreBsonPack {
|
||||
|
||||
/**
|
||||
* 日志复杂查询
|
||||
*
|
||||
* @param logSystem
|
||||
* @return
|
||||
*/
|
||||
public static Bson packBsonByLogSystem(SysLogSystem logSystem) {
|
||||
Bson bson = new BasicDBObject();
|
||||
|
||||
bson = BsonPackTool.getNumEqualPack(logSystem.getLogLevel(), "logLevel", bson);
|
||||
bson = BsonPackTool.getNumEqualPack(logSystem.getLogModuleId(), "logModuleId", bson);
|
||||
bson = BsonPackTool.timeBuilder(logSystem.getCreateDatetime(), "createDatetime", bson, false, false);
|
||||
bson = BsonPackTool.getStringLikerPack(logSystem.getRemoteIp(), "remoteIp", bson);
|
||||
bson = BsonPackTool.getStringLikerPack(logSystem.getRequestUrl(), "requestUrl", bson);
|
||||
bson = BsonPackTool.getStringLikerPack(logSystem.getLogMethod(), "logMethod", bson);
|
||||
|
||||
return bson;
|
||||
}
|
||||
|
||||
/**
|
||||
* 系统操作日志
|
||||
*
|
||||
* @param logOperate
|
||||
* @return
|
||||
*/
|
||||
public static Bson packBsonByLogOperate(SysLogOperate logOperate) {
|
||||
Bson bson = new BasicDBObject();
|
||||
|
||||
bson = BsonPackTool.getNumEqualPack(logOperate.getOperateType(), "operateType", bson);
|
||||
bson = BsonPackTool.getNumEqualPack(logOperate.getOperateModule(), "operateModule", bson);
|
||||
bson = BsonPackTool.timeBuilder(logOperate.getCreateDatetime(), "createDatetime", bson, false, false);
|
||||
bson = BsonPackTool.getStringLikerPack(logOperate.getRemoteIp(), "remoteIp", bson);
|
||||
bson = BsonPackTool.getStringLikerPack(logOperate.getOperateMessage(), "operateMessage", bson);
|
||||
bson = BsonPackTool.getStringLikerPack(logOperate.getCreateUser(), "createUser", bson);
|
||||
|
||||
return bson;
|
||||
}
|
||||
|
||||
/**
|
||||
* 系统异常日志复杂查询
|
||||
*
|
||||
* @param sysLogException
|
||||
* @return
|
||||
*/
|
||||
public static Bson packBsonBySysLogException(SysLogException sysLogException) {
|
||||
Bson bson = new BasicDBObject();
|
||||
|
||||
bson = BsonPackTool.getNumEqualPack(sysLogException.getExcModule(), "excModule", bson);
|
||||
bson = BsonPackTool.getStringLikerPack(sysLogException.getExcMessage(), "excMessage", bson);
|
||||
bson = BsonPackTool.timeBuilder(sysLogException.getCreateDatetime(), "createDatetime", bson, false, false);
|
||||
|
||||
return bson;
|
||||
}
|
||||
|
||||
/**
|
||||
* 定时任务日志复杂查询
|
||||
*
|
||||
* @param sysLogTaskTime
|
||||
* @return
|
||||
*/
|
||||
public static Bson packBsonByLogTaskTime(SysLogTaskTime sysLogTaskTime) {
|
||||
Bson bson = new BasicDBObject();
|
||||
|
||||
bson = BsonPackTool.getStringLikerPack(sysLogTaskTime.getName(), "name", bson);
|
||||
bson = BsonPackTool.getStringLikerPack(sysLogTaskTime.getGroupName(), "groupName", bson);
|
||||
bson = BsonPackTool.timeBuilder(sysLogTaskTime.getCreateDatetime(), "createDatetime", bson, false, false);
|
||||
|
||||
return bson;
|
||||
}
|
||||
|
||||
/**
|
||||
* 区间
|
||||
*
|
||||
* @param colName
|
||||
* @param min
|
||||
* @param max
|
||||
* @return
|
||||
*/
|
||||
public static Bson packBsonByInterval(String colName, Object min, Object max) {
|
||||
Bson bson = new BasicDBObject();
|
||||
|
||||
bson = BsonPackTool.getNumBiggerPack(min, colName, bson);
|
||||
bson = BsonPackTool.getNumSmallerPack(max, colName, bson);
|
||||
|
||||
return bson;
|
||||
}
|
||||
|
||||
/**
|
||||
* 指定日期之后
|
||||
* @param dateTime 日期
|
||||
* @return
|
||||
*/
|
||||
public static Bson packBsonByDateTimeAfter(String dateTime){
|
||||
return BsonPackTool.timeLess(dateTime, "createDatetime", null, true);
|
||||
}
|
||||
}
|
@ -1,80 +1,80 @@
|
||||
package cn.estsh.i3plus.pojo.report.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
import org.hibernate.annotations.Type;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 自定义报表布局
|
||||
* @Reference :
|
||||
* @Author : alwaysfrin
|
||||
* @CreateDate : 2018-12-25 19:54
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="BR_LAYOUT_COLUMN")
|
||||
@Api(value="自定义报表布局-列",description = "一行包含多列")
|
||||
public class BrLayoutColumn extends BaseBean {
|
||||
|
||||
@Column(name="LAYOUT_ID")
|
||||
@ApiParam(value ="布局主键")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long layoutId;
|
||||
|
||||
@Column(name="LAYOUT_ROW_ID")
|
||||
@ApiParam(value ="行主键")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long layoutRowId;
|
||||
|
||||
@Column(name="COLUMN_COLSPAN")
|
||||
@ApiParam(value ="跨列数")
|
||||
private Integer columnColspan;
|
||||
|
||||
@Column(name="COLUMN_ROWSPAN")
|
||||
@ApiParam(value ="跨行数")
|
||||
private Integer columnRowspan;
|
||||
|
||||
@Column(name="COLUMN_WIDTH")
|
||||
@ApiParam(value ="列宽")
|
||||
private Integer columnWidth;
|
||||
|
||||
@Column(name="COLUMN_HEIGHT")
|
||||
@ApiParam(value ="列高")
|
||||
private Integer columnHeight;
|
||||
|
||||
@Column(name="COLUMN_STYLE")
|
||||
@ApiParam(value ="列样式")
|
||||
private String columnStyle;
|
||||
|
||||
@Column(name="COLUMN_SEQ")
|
||||
@ApiParam(value ="序列")
|
||||
private Integer columnSeq;
|
||||
|
||||
@Column(name="COLUMN_SORT")
|
||||
@ApiParam(value ="排序,降序")
|
||||
private Integer columnSort;
|
||||
|
||||
// @Lob
|
||||
@Column(name = "COLUMN_DESCRIPTION")
|
||||
@ApiParam(value ="列描述")
|
||||
private String columnDescription;
|
||||
|
||||
// @Lob
|
||||
// @Column(name="COLUMN_HTML")
|
||||
// @ApiParam(value ="列html")
|
||||
// private String columnHtml;
|
||||
}
|
||||
//package cn.estsh.i3plus.pojo.report.bean;
|
||||
//
|
||||
//import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
//import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
//import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
//import io.swagger.annotations.Api;
|
||||
//import io.swagger.annotations.ApiParam;
|
||||
//import lombok.Data;
|
||||
//import lombok.EqualsAndHashCode;
|
||||
//import org.hibernate.annotations.DynamicInsert;
|
||||
//import org.hibernate.annotations.DynamicUpdate;
|
||||
//import org.hibernate.annotations.Type;
|
||||
//
|
||||
//import javax.persistence.*;
|
||||
//import java.util.List;
|
||||
//
|
||||
///**
|
||||
// * @Description : 自定义报表布局
|
||||
// * @Reference :
|
||||
// * @Author : alwaysfrin
|
||||
// * @CreateDate : 2018-12-25 19:54
|
||||
// * @Modify:
|
||||
// **/
|
||||
//@Data
|
||||
//@Entity
|
||||
//@DynamicInsert
|
||||
//@DynamicUpdate
|
||||
//@EqualsAndHashCode(callSuper = true)
|
||||
//@Table(name="BR_LAYOUT_COLUMN")
|
||||
//@Api(value="自定义报表布局-列",description = "一行包含多列")
|
||||
//public class BrLayoutColumn extends BaseBean {
|
||||
//
|
||||
// @Column(name="LAYOUT_ID")
|
||||
// @ApiParam(value ="布局主键")
|
||||
// @JsonSerialize(using = ToStringSerializer.class)
|
||||
// private Long layoutId;
|
||||
//
|
||||
// @Column(name="LAYOUT_ROW_ID")
|
||||
// @ApiParam(value ="行主键")
|
||||
// @JsonSerialize(using = ToStringSerializer.class)
|
||||
// private Long layoutRowId;
|
||||
//
|
||||
// @Column(name="COLUMN_COLSPAN")
|
||||
// @ApiParam(value ="跨列数")
|
||||
// private Integer columnColspan;
|
||||
//
|
||||
// @Column(name="COLUMN_ROWSPAN")
|
||||
// @ApiParam(value ="跨行数")
|
||||
// private Integer columnRowspan;
|
||||
//
|
||||
// @Column(name="COLUMN_WIDTH")
|
||||
// @ApiParam(value ="列宽")
|
||||
// private Integer columnWidth;
|
||||
//
|
||||
// @Column(name="COLUMN_HEIGHT")
|
||||
// @ApiParam(value ="列高")
|
||||
// private Integer columnHeight;
|
||||
//
|
||||
// @Column(name="COLUMN_STYLE")
|
||||
// @ApiParam(value ="列样式")
|
||||
// private String columnStyle;
|
||||
//
|
||||
// @Column(name="COLUMN_SEQ")
|
||||
// @ApiParam(value ="序列")
|
||||
// private Integer columnSeq;
|
||||
//
|
||||
// @Column(name="COLUMN_SORT")
|
||||
// @ApiParam(value ="排序,降序")
|
||||
// private Integer columnSort;
|
||||
//
|
||||
//// @Lob
|
||||
// @Column(name = "COLUMN_DESCRIPTION")
|
||||
// @ApiParam(value ="列描述")
|
||||
// private String columnDescription;
|
||||
//
|
||||
//// @Lob
|
||||
//// @Column(name="COLUMN_HTML")
|
||||
//// @ApiParam(value ="列html")
|
||||
//// private String columnHtml;
|
||||
//}
|
||||
|
@ -0,0 +1,77 @@
|
||||
package cn.estsh.i3plus.pojo.report.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Transient;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-3-24 下午2:39
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "BR_LAYOUT_ELEMENT")
|
||||
@Api(value = "自定义报表布局元素")
|
||||
public class BrLayoutElement extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 3684811659039862857L;
|
||||
@Column(name = "LAYOUT_ID")
|
||||
@ApiParam(value = "布局主键")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long layoutId;
|
||||
|
||||
@Column(name = "PARENT_ID")
|
||||
@ApiParam(value = "父节点主键")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long parentId;
|
||||
|
||||
@Column(name = "ELEMENT_TEXT")
|
||||
@ApiParam(value ="元素描述")
|
||||
private String elementText;
|
||||
|
||||
@Column(name="ELEMENT_SEQ")
|
||||
@ApiParam(value ="序列")
|
||||
private Integer elementSeq = 0;
|
||||
|
||||
@Column(name="ELEMENT_WIDTH")
|
||||
@ApiParam(value ="列宽")
|
||||
private Integer elementWidth;
|
||||
|
||||
@Column(name="ELEMENT_HEIGHT")
|
||||
@ApiParam(value ="列高")
|
||||
private Integer elementHeight;
|
||||
|
||||
@Column(name="ELEMENT_STYLE")
|
||||
@ApiParam(value ="列样式")
|
||||
private String elementStyle;
|
||||
|
||||
@Column(name="ELEMENT_CSS_CLASS")
|
||||
@ApiParam(value ="列样式")
|
||||
private String elementCssClass;
|
||||
|
||||
@Column(name = "ELEMENT_DESCRIPTION")
|
||||
@ApiParam(value ="元素描述")
|
||||
private String elementDescription;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="行所包含的元素")
|
||||
private List<BrLayoutElement> elementList;
|
||||
}
|
@ -1,67 +1,67 @@
|
||||
package cn.estsh.i3plus.pojo.report.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
import org.hibernate.annotations.Type;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 自定义报表布局
|
||||
* @Reference :
|
||||
* @Author : alwaysfrin
|
||||
* @CreateDate : 2018-12-25 19:54
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="BR_LAYOUT_ROW")
|
||||
@Api(value="自定义报表布局-行",description = "一个布局包含多行,一行包含多列")
|
||||
public class BrLayoutRow extends BaseBean {
|
||||
|
||||
@Column(name="LAYOUT_ID")
|
||||
@ApiParam(value ="布局主键")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long layoutId;
|
||||
|
||||
@Column(name="ROW_WIDTH")
|
||||
@ApiParam(value ="行宽")
|
||||
private Integer rowWidth;
|
||||
|
||||
@Column(name="ROW_HEIGHT")
|
||||
@ApiParam(value ="行高")
|
||||
private Integer rowHeight;
|
||||
|
||||
@Column(name="ROW_SORT")
|
||||
@ApiParam(value ="排序")
|
||||
private Integer rowSort;
|
||||
|
||||
@Lob
|
||||
@Column(name="ROW_STYLE")
|
||||
@ApiParam(value ="行样式")
|
||||
private String rowStyle;
|
||||
|
||||
@Column(name="ROW_COL_NUM")
|
||||
@ApiParam(value ="行所关联列数")
|
||||
private Integer rowColNum;
|
||||
|
||||
//package cn.estsh.i3plus.pojo.report.bean;
|
||||
//
|
||||
//import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
//import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
//import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
//import io.swagger.annotations.Api;
|
||||
//import io.swagger.annotations.ApiParam;
|
||||
//import lombok.Data;
|
||||
//import lombok.EqualsAndHashCode;
|
||||
//import org.hibernate.annotations.DynamicInsert;
|
||||
//import org.hibernate.annotations.DynamicUpdate;
|
||||
//import org.hibernate.annotations.Type;
|
||||
//
|
||||
//import javax.persistence.*;
|
||||
//import java.util.List;
|
||||
//
|
||||
///**
|
||||
// * @Description : 自定义报表布局
|
||||
// * @Reference :
|
||||
// * @Author : alwaysfrin
|
||||
// * @CreateDate : 2018-12-25 19:54
|
||||
// * @Modify:
|
||||
// **/
|
||||
//@Data
|
||||
//@Entity
|
||||
//@DynamicInsert
|
||||
//@DynamicUpdate
|
||||
//@EqualsAndHashCode(callSuper = true)
|
||||
//@Table(name="BR_LAYOUT_ROW")
|
||||
//@Api(value="自定义报表布局-行",description = "一个布局包含多行,一行包含多列")
|
||||
//public class BrLayoutRow extends BaseBean {
|
||||
//
|
||||
// @Column(name="LAYOUT_ID")
|
||||
// @ApiParam(value ="布局主键")
|
||||
// @JsonSerialize(using = ToStringSerializer.class)
|
||||
// private Long layoutId;
|
||||
//
|
||||
// @Column(name="ROW_WIDTH")
|
||||
// @ApiParam(value ="行宽")
|
||||
// private Integer rowWidth;
|
||||
//
|
||||
// @Column(name="ROW_HEIGHT")
|
||||
// @ApiParam(value ="行高")
|
||||
// private Integer rowHeight;
|
||||
//
|
||||
// @Column(name="ROW_SORT")
|
||||
// @ApiParam(value ="排序")
|
||||
// private Integer rowSort;
|
||||
//
|
||||
// @Lob
|
||||
// @Column(name="ROW_HTML")
|
||||
// @ApiParam(value ="行html")
|
||||
// private String rowHtml;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="行所包含的列")
|
||||
private List<BrLayoutColumn> brLayoutColumns;
|
||||
}
|
||||
// @Column(name="ROW_STYLE")
|
||||
// @ApiParam(value ="行样式")
|
||||
// private String rowStyle;
|
||||
//
|
||||
// @Column(name="ROW_COL_NUM")
|
||||
// @ApiParam(value ="行所关联列数")
|
||||
// private Integer rowColNum;
|
||||
//
|
||||
//// @Lob
|
||||
//// @Column(name="ROW_HTML")
|
||||
//// @ApiParam(value ="行html")
|
||||
//// private String rowHtml;
|
||||
//
|
||||
// @Transient
|
||||
// @ApiParam(value ="行所包含的列")
|
||||
// private List<BrLayoutColumn> brLayoutColumns;
|
||||
//}
|
||||
|
@ -1,14 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.report.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.report.bean.BrLayoutColumn;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : alwaysfrin
|
||||
* @CreateDate : 2018-12-26 20:23
|
||||
* @Modify:
|
||||
**/
|
||||
public interface BrLayoutColumnRepository extends BaseRepository<BrLayoutColumn,Long> {
|
||||
}
|
||||
//package cn.estsh.i3plus.pojo.report.repository;
|
||||
//
|
||||
//import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
//import cn.estsh.i3plus.pojo.report.bean.BrLayoutColumn;
|
||||
//
|
||||
///**
|
||||
// * @Description :
|
||||
// * @Reference :
|
||||
// * @Author : alwaysfrin
|
||||
// * @CreateDate : 2018-12-26 20:23
|
||||
// * @Modify:
|
||||
// **/
|
||||
//public interface BrLayoutColumnRepository extends BaseRepository<BrLayoutColumn,Long> {
|
||||
//}
|
||||
|
@ -1,14 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.report.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.report.bean.BrLayoutRow;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : alwaysfrin
|
||||
* @CreateDate : 2018-12-26 20:23
|
||||
* @Modify:
|
||||
**/
|
||||
public interface BrLayoutRowRepository extends BaseRepository<BrLayoutRow,Long> {
|
||||
}
|
||||
//package cn.estsh.i3plus.pojo.report.repository;
|
||||
//
|
||||
//import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
//import cn.estsh.i3plus.pojo.report.bean.BrLayoutRow;
|
||||
//
|
||||
///**
|
||||
// * @Description :
|
||||
// * @Reference :
|
||||
// * @Author : alwaysfrin
|
||||
// * @CreateDate : 2018-12-26 20:23
|
||||
// * @Modify:
|
||||
// **/
|
||||
//public interface BrLayoutRowRepository extends BaseRepository<BrLayoutRow,Long> {
|
||||
//}
|
||||
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.report.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.report.bean.BrRefReport;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : alwaysfrin
|
||||
* @CreateDate : 2018-12-26 20:23
|
||||
* @Modify:
|
||||
**/
|
||||
public interface BrRefReportRepository extends BaseRepository<BrRefReport,Long> {
|
||||
}
|
Loading…
Reference in New Issue