yun-zuoyi
刘敏 6 years ago
commit 72ac1f39f4

@ -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