yun-zuoyi
刘敏 6 years ago
commit 72ac1f39f4

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

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

@ -21,12 +21,12 @@ public interface IEngineScriptPersistenceRepository extends BaseRepository<Engin
* @param scriptNo * @param scriptNo
* @return * @return
*/ */
EngineScriptPersistence findByScriptNo(String scriptNo); EngineScriptPersistence findByOrganizeCodeAndScriptNo(String organizeCode, String scriptNo);
/** /**
* *
* @return * @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(); List findGroupByLanguageType();
} }

Loading…
Cancel
Save