添加hql目标文件规范化

yun-zuoyi
amy 6 years ago
parent 294560df40
commit 9e49372cf5

@ -17,7 +17,7 @@ import java.util.List;
**/
public interface WmsIbCheckPlanRepository extends BaseRepository<WmsIbCheckPlan, Long> {
@Query("select icp from WmsIbCheckPlan icp where icp.partNo =:partNo and icp.organizeCode=:organizeCode and icp.startDate<=:date and icp.endDate>=:date")
/* @Query("select icp from WmsIbCheckPlan icp where icp.partNo =:partNo and icp.organizeCode=:organizeCode and icp.startDate<=:date and icp.endDate>=:date")
List<WmsIbCheckPlan> findWmsIbCheckPlanByPartNoAndTime(@Param("partNo") String partNo, @Param("organizeCode") String organizeCode, @Param("date") String date);
*/
}

@ -22,19 +22,19 @@ public interface WmsMoveDetailsRepository extends BaseRepository<WmsMoveDetails,
* @param isValid
* @param isDeleted
* @return
*/
*//*
@Query("select max(item) from WmsMoveDetails where organizeCode = :organizeCode and isValid = :isValid and isDeleted = :isDeleted")
int getMaxItem(@Param("organizeCode")String organizeCode, @Param("isValid")int isValid, @Param("isDeleted")int isDeleted);
/**
*//**
*
* @param organizeCode
* @param isValid
* @param isDeleted
* @param status
* @return
*/
*//*
@Query("select count(id) from WmsMoveDetails where organizeCode = :organizeCode and isValid = :isValid and isDeleted = :isDeleted and status <> :status")
int getCountNotInStatus(@Param("organizeCode")String organizeCode, @Param("isValid")int isValid, @Param("isDeleted")int isDeleted,@Param("status")int status);
*/
}

Loading…
Cancel
Save