yun-zuoyi
yihang.lv 6 years ago
commit 542052815b

@ -656,7 +656,7 @@ public class WmsEnumUtil {
/**
*
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum TASK_INFO_STATUS {

@ -112,9 +112,13 @@ public class WmsDocMovementMaster extends BaseBean {
private String desrAreaNo;
@Column(name = "IS_PART")
@ApiParam(value = "是否散件")
@ApiParam(value = "是否散件", example = "1")
private Integer isPart;
@Column(name = "IS_SN")
@ApiParam(value = "是否指定条码", example = "1")
private Integer isSn;
@Transient
@ApiParam(value = "发运单号")
private String shipOrderNo;

@ -58,10 +58,10 @@ public class WmsDocMovementSn extends BaseBean {
public String unit;
/**
* :
*
*/
@Column(name="SN_STATUS")
@ApiParam(value = "状态", example = "10")
@ApiParam(value = "操作状态", example = "10")
public Integer snStatus;
@Column(name="SN")

@ -0,0 +1,42 @@
package cn.estsh.i3plus.pojo.wms.engine.rule;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
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;
/**
*
*
* @author Rock.Yu
* @since 2019-04-16 09:27
*/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table(name = "DROOLS_RULE_PERSISTENCE")
@Api("系统动态业务规则")
public class EngineRulePersistence extends BaseBean {
// 规则调用的唯一编号例如WMS_RECEIVE_0001
@Column(name = "RULE_NO", length = 50)
private String ruleNo;
// 规则的中文名称
@Column(name = "RULE_NAME", length = 50)
private String ruleName;
// 规则的具体内容
@Column(name = "RULE_CONTENT", columnDefinition = "TEXT")
private String ruleContent;
// 规则的描述,包含规则的用法,参数说明等
@Column(name = "RULE_REMARK", length = 2000)
private String ruleRemark;
}

@ -0,0 +1,22 @@
package cn.estsh.i3plus.pojo.wms.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.wms.engine.rule.EngineRulePersistence;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : Rock.Yu
* @CreateDate : 2019-04-16 09:53
* @Modify:
**/
@Repository
public interface IEngineRulePersistenceRepository extends BaseRepository<EngineRulePersistence, Long> {
/**
*
* @param ruleNo
* @return
*/
EngineRulePersistence findByRuleNo(String ruleNo);
}

@ -7,10 +7,26 @@ import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @Description :
* @Reference :
* @Author : Rock.Yu
* @CreateDate : 2019-04-16 09:53
* @Modify:
**/
@Repository
public interface IEngineScriptPersistenceDao extends BaseRepository<EngineScriptPersistence, Long> {
public interface IEngineScriptPersistenceRepository extends BaseRepository<EngineScriptPersistence, Long> {
/**
*
* @param scriptNo
* @return
*/
EngineScriptPersistence findByScriptNo(String scriptNo);
/**
*
* @return
*/
@Query("select t.languageType from EngineScriptPersistence t group by t.languageType")
List findGroupByLanguageType();
}
Loading…
Cancel
Save