yun-zuoyi
amy 7 years ago
commit 2f991db5de

@ -0,0 +1,16 @@
package cn.estsh.i3plus.pojo.wms.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.wms.bean.WmsPackage;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : silliter.yuan
* @CreateDate : 2018-11-18 14:46
* @Modify:
**/
@Repository
public interface WmsPackAgeRepository extends BaseRepository<WmsPackage, Long> {
}

@ -0,0 +1,14 @@
package cn.estsh.i3plus.pojo.wms.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.wms.bean.WmsStockQuan;
/**
* @Description :dao
* @Reference :
* @Author : jessica.chen
* @CreateDate : 2018-11-02 17:08
* @Modify:
**/
public interface WmsStockQuanRepository extends BaseRepository<WmsStockQuan, Long> {
}

@ -834,6 +834,25 @@ public class WmsHqlPack {
}
/**
*
*
* @param wmsPackage
* @return
*/
public static String packWmsPackAge(WmsPackage wmsPackage) {
StringBuffer result = new StringBuffer();
//查询参数封装
HqlPack.getStringEqualPack(wmsPackage.getPackageNo(), "packageNo", result);
HqlPack.getStringEqualPack(wmsPackage.getParentPackageNo(), "parentPackageNo", result);
HqlPack.getStringEqualPack(wmsPackage.getSn(), "sn", result);
HqlPack.getNumEqualPack(wmsPackage.getPackTypeId(), "packTypeId", result);
getStringBuilderPack(wmsPackage, result);
return result.toString();
}
/**
*
* @param wmsMoveMaster
* @return

Loading…
Cancel
Save