jiazx0107@163.com
2023-05-26 75e83ba772ef70396b2595ccab646edf8ec4df51
igds-api-inte/src/main/java/com/ld/igds/sh/service/impl/HApiShServiceImpl.java
@@ -4,7 +4,6 @@
import com.bstek.bdf2.core.orm.hibernate.HibernateDao;
import com.ld.igds.inout.InoutConstant;
import com.ld.igds.models.*;
import com.ld.igds.util.DateUtil;
import org.apache.commons.lang3.StringUtils;
import org.hibernate.Session;
import org.springframework.stereotype.Component;
@@ -501,8 +500,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);
@@ -721,8 +720,8 @@
    * @param endTime
    * @return
    */
   public List<MPlan> listPlan(String companyId, String type, Date startTime, Date endTime) {
      String hql = " from " + MPlan.class.getName() + " where companyId =:companyId";
   public List<InoutPlan> listPlan(String companyId, String type, Date startTime, Date endTime) {
      String hql = " from " + InoutPlan.class.getName() + " where companyId =:companyId";
      Map<String, Object> args = new HashMap<String, Object>();
      args.put("companyId", companyId);
@@ -751,9 +750,9 @@
    * @param planId
    * @return
    */
   public List<MPlanDetail> getPlanDetail(String planId) {
   public List<InoutPlanDetail> getPlanDetail(String planId) {
      String hql = " from " + MPlanDetail.class.getName() + " where planId =:planId";
      String hql = " from " + InoutPlanDetail.class.getName() + " where planId =:planId";
      Map<String, Object> args = new HashMap<String, Object>();
      args.put("planId", planId);
@@ -768,8 +767,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);