增加4车间补满模逻辑
parent
ffa0aa94f8
commit
23f6f9285b
@ -0,0 +1,46 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.aps.annotation.FieldAnnotation;
|
||||||
|
import cn.estsh.i3plus.pojo.base.enumutil.ApsEnumUtil;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Lob;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 排程优化规则
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jason.niu
|
||||||
|
* @CreateDate : 2021-03-24
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Entity
|
||||||
|
@Table(name = "APS_HEURISTIC_OPTIMIZE")
|
||||||
|
@Api("排程优化规则")
|
||||||
|
public class HeuristicOptimize extends BaseRule {
|
||||||
|
private static final long serialVersionUID = -464821596740369199L;
|
||||||
|
|
||||||
|
@Column(name="WORK_FILTER")
|
||||||
|
@ApiParam(value ="工作筛选")
|
||||||
|
private String workFilter;
|
||||||
|
|
||||||
|
@Column(name="RES_FILTER")
|
||||||
|
@ApiParam(value ="资源筛选")
|
||||||
|
private String resFilter;
|
||||||
|
|
||||||
|
@Lob
|
||||||
|
@Column(name="RES_SELECT")
|
||||||
|
@ApiParam(value ="资源选择")
|
||||||
|
private String resSelect;
|
||||||
|
|
||||||
|
@Column(name="OPTIMIZE_INTERVAL")
|
||||||
|
@ApiParam(value ="优化间隔")
|
||||||
|
private String optimizeInterval;
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.aps.bean.HeuristicOptimize;
|
||||||
|
import org.springframework.data.repository.CrudRepository;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
@Repository
|
||||||
|
public interface HeuristicOptimizeRepository extends CrudRepository<HeuristicOptimize, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue