Merge branches 'dev' and 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test

yun-zuoyi
wei.peng 6 years ago
commit 3605e5ef35

@ -4,6 +4,8 @@ import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.wms.bean.WmsStockSn; import cn.estsh.i3plus.pojo.wms.bean.WmsStockSn;
import org.springframework.data.jpa.repository.Query; import org.springframework.data.jpa.repository.Query;
import java.util.List;
/** /**
* @Description : dao * @Description : dao
* @Reference : * @Reference :
@ -21,13 +23,14 @@ public interface WmsStockSnRepository extends BaseRepository<WmsStockSn, Long> {
/** /**
* Rock.Yu at 2019-06-22 11:05
* *
* *
* @return * @return
*/ */
@Query(value = "select sn from WmsStockSn " + @Query(value = "from WmsStockSn " +
"where organizeCode=?1 and isValid=?2 and isDeleted=?3 " + "where organizeCode=?1 " +
"and zoneNo=?4 and partNo=?5 " + "and zoneNo=?2 and partNo=?3 and isValid=?4 and isDeleted=?5 " +
"order by fixLotNo, dateCode, lotNo") "order by fixLotNo, dateCode, lotNo")
WmsStockSn findFirstFifoSNByZoneNo(String organizeCode, int isValid, int isDeleted, String zoneNo, String partNo); List<WmsStockSn> findByFifoSNByZoneNo(String organizeCode, String zoneNo, String partNo, int isValid, int isDeleted);
} }

Loading…
Cancel
Save