jiazx0107@163.com
2023-06-24 6f45f4a29ce38525f3f9e3931bcedfc77bde765e
igds-api-inte/src/main/java/com/ld/igds/sh/service/impl/HApiShServiceImpl.java
@@ -289,7 +289,6 @@
      args.put("companyId", companyId);
      args.put("progress", InoutConstant.PROGRESS_RECORD);
      args.put("recordStatus1", InoutConstant.RECORD_STATUS_DEL);
      args.put("recordStatus2", InoutConstant.RECORD_STATUS_ERROR);
      if(StringUtils.isNotEmpty(depotId)){
         hql += " and depotId =:depotId";
@@ -434,8 +433,8 @@
    * @param endTime
    * @return
    */
   public List<MStockChange> listStockChange(String companyId, String depotId, Date startTime, Date endTime) {
      String hql = " from " + MStockChange.class.getName() + " where companyId =:companyId";
   public List<InoutStockChange> listStockChange(String companyId, String depotId, Date startTime, Date endTime) {
      String hql = " from " + InoutStockChange.class.getName() + " where companyId =:companyId";
      Map<String, Object> args = new HashMap<String, Object>();
      args.put("companyId", companyId);
@@ -467,8 +466,8 @@
    * @param endTime
    * @return
    */
   public List<MLossOver> listLossOver(String companyId, String depotId, Date startTime, Date endTime) {
      String hql = " from " + MLossOver.class.getName() + " where companyId =:companyId";
   public List<InoutLossOver> listLossOver(String companyId, String depotId, Date startTime, Date endTime) {
      String hql = " from " + InoutLossOver.class.getName() + " where companyId =:companyId";
      Map<String, Object> args = new HashMap<String, Object>();
      args.put("companyId", companyId);
@@ -500,8 +499,8 @@
    * @param endTime
    * @return
    */
   public List<MVarietyChange> listFoodVarietyChange(String companyId, String depotId, Date startTime, Date endTime) {
      String hql = " from " + MVarietyChange.class.getName() + " where companyId =:companyId";
   public List<InoutVarietyChange> listFoodVarietyChange(String companyId, String depotId, Date startTime, Date endTime) {
      String hql = " from " + InoutVarietyChange.class.getName() + " where companyId =:companyId";
      Map<String, Object> args = new HashMap<String, Object>();
      args.put("companyId", companyId);
@@ -767,8 +766,8 @@
    * @param endTime
    * @return
    */
   public List<MContract> listContract(String companyId, Date startTime, Date endTime){
      String hql = " from " + MContract.class.getName() + " where companyId =:companyId";
   public List<InoutContract> listContract(String companyId, Date startTime, Date endTime){
      String hql = " from " + InoutContract.class.getName() + " where companyId =:companyId";
      Map<String, Object> args = new HashMap<String, Object>();
      args.put("companyId", companyId);
@@ -805,7 +804,6 @@
      args.put("companyId", companyId);
      args.put("progress", InoutConstant.PROGRESS_RECORD);
      args.put("recordStatus1", InoutConstant.RECORD_STATUS_DEL);
      args.put("recordStatus2", InoutConstant.RECORD_STATUS_ERROR);
      if(null != startTime){
         hql += " and registerTime >:startTime";