1. TO ERP 增加单据行号字段

2. 脚本引擎 & 规则引擎 增加工厂代码
yun-zuoyi
于学杰 6 years ago
parent eb4914ae7a
commit 02044789dc

@ -153,6 +153,10 @@ public class WmsMoveToERP extends BaseBean {
@ApiParam("是否同步")
public Integer isSync = CommonEnumUtil.FALSE;
@Column(name="REF_ITEM")
@ApiParam("关联单据行号")
public String refItem;
@ApiParam(value = "待出库数量", example = "0")
@Transient
private Long waitingCounts;

@ -15,8 +15,9 @@ import org.springframework.stereotype.Repository;
public interface IEngineRulePersistenceRepository extends BaseRepository<EngineRulePersistence, Long> {
/**
*
* @param organizeCode
* @param ruleNo
* @return
*/
EngineRulePersistence findByRuleNo(String ruleNo);
EngineRulePersistence findByOrganizeCodeAndRuleNo(String organizeCode, String ruleNo);
}

@ -21,12 +21,12 @@ public interface IEngineScriptPersistenceRepository extends BaseRepository<Engin
* @param scriptNo
* @return
*/
EngineScriptPersistence findByScriptNo(String scriptNo);
EngineScriptPersistence findByOrganizeCodeAndScriptNo(String organizeCode, String scriptNo);
/**
*
* @return
*/
@Query("select t.languageType from EngineScriptPersistence t group by t.languageType")
@Query("select t.languageType from EngineScriptPersistence t group by t.organizeCode, t.languageType")
List findGroupByLanguageType();
}

Loading…
Cancel
Save