| | |
| | | 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; |
| | |
| | | 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"; |
| | |
| | | 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"; |