CZT
2023-10-20 3631219246be48aec1e745e94e5b28ff4e8799c8
igds-api-inte/src/main/java/com/ld/igds/sh/service/impl/HApiShServiceImpl.java
@@ -7,6 +7,7 @@
import org.apache.commons.lang3.StringUtils;
import org.hibernate.Session;
import org.springframework.stereotype.Component;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
@@ -289,7 +290,7 @@
      args.put("companyId", companyId);
      args.put("progress", InoutConstant.PROGRESS_RECORD);
      args.put("recordStatus1", InoutConstant.RECORD_STATUS_DEL);
      args.put("recordStatus2", InoutConstant.RECORD_STATUS_ERROR);
      args.put("recordStatus2", "ERROR");
      if(StringUtils.isNotEmpty(depotId)){
         hql += " and depotId =:depotId";
@@ -434,8 +435,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 +468,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);
@@ -805,7 +806,7 @@
      args.put("companyId", companyId);
      args.put("progress", InoutConstant.PROGRESS_RECORD);
      args.put("recordStatus1", InoutConstant.RECORD_STATUS_DEL);
      args.put("recordStatus2", InoutConstant.RECORD_STATUS_ERROR);
      args.put("recordStatus2", "ERROR");
      if(null != startTime){
         hql += " and registerTime >:startTime";