|
|
|
@ -2,6 +2,8 @@ package cn.estsh.i3plus.pojo.wms.repository;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
|
|
|
|
import cn.estsh.i3plus.pojo.wms.bean.WmsMoveSn;
|
|
|
|
|
import org.springframework.data.jpa.repository.Query;
|
|
|
|
|
import org.springframework.data.repository.query.Param;
|
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -13,4 +15,11 @@ import org.springframework.stereotype.Repository;
|
|
|
|
|
**/
|
|
|
|
|
@Repository
|
|
|
|
|
public interface WmsMoveSnRepository extends BaseRepository<WmsMoveSn, Long> {
|
|
|
|
|
|
|
|
|
|
@Query("select count(id) from WmsMoveSn where destLocateNo = :destLocateNo and itemStatus in (:createStatus,:dealStatus)" +
|
|
|
|
|
" and organizeCode = :organizeCode and isValid = :isValid and isDeleted = :isDeleted")
|
|
|
|
|
int getCountByLocateNoAndStatus(@Param("destLocateNo")String destLocateNo,@Param("createStatus")String createStatus,
|
|
|
|
|
@Param("dealStatus")String dealStatus,@Param("organizeCode")String organizeCode,
|
|
|
|
|
@Param("isValid")int isValid, @Param("isDeleted")int isDeleted);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|