|
|
|
@ -7,6 +7,7 @@ import com.gaotao.common.exception.XJException; |
|
|
|
import com.gaotao.common.utils.DateUtil; |
|
|
|
import com.gaotao.common.utils.DateUtils; |
|
|
|
import com.gaotao.common.utils.R; |
|
|
|
import com.gaotao.modules.inboundNotification.service.impl.InboundNotificationServiceImpl; |
|
|
|
import com.gaotao.modules.rollNoReview.data.SFDCMaterialHistOutData; |
|
|
|
import com.gaotao.modules.schedule.data.*; |
|
|
|
import com.gaotao.modules.schedule.data.dto.ScheduleDateShifDto; |
|
|
|
@ -21,6 +22,8 @@ import com.gaotao.modules.schedule.service.ScheduleService; |
|
|
|
import com.gaotao.modules.schedule.service.SchedulingService; |
|
|
|
import com.gaotao.modules.shopOrder.entity.OperatorData; |
|
|
|
import com.gaotao.modules.sys.service.SysMsgService; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
@ -39,6 +42,8 @@ import java.util.*; |
|
|
|
*/ |
|
|
|
@Service |
|
|
|
public class ScheduleServiceImpl implements ScheduleService { |
|
|
|
|
|
|
|
private static final Logger logger = LoggerFactory.getLogger(InboundNotificationServiceImpl.class); |
|
|
|
@Autowired |
|
|
|
private ScheduleMapper scheduleMapper; |
|
|
|
@Autowired |
|
|
|
@ -5423,4 +5428,21 @@ public class ScheduleServiceImpl implements ScheduleService { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<Map<String, Object>> getFixedCarrierList(String site, String carrierNo, String carrierTypeName, String specification) { |
|
|
|
logger.info("获取固定载具列表,站点: {}, 标签条码: {}, 载具类型名称: {}, 规格描述: {}", |
|
|
|
site, carrierNo, carrierTypeName, specification); |
|
|
|
try { |
|
|
|
List<Map<String, Object>> carrierList = scheduleMapper.getFixedCarrierList(site, carrierNo, carrierTypeName, specification); |
|
|
|
if (carrierList == null) { |
|
|
|
carrierList = new ArrayList<>(); |
|
|
|
} |
|
|
|
logger.info("获取固定载具列表成功,站点: {}, 记录数: {}", site, carrierList.size()); |
|
|
|
return carrierList; |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("获取固定载具列表失败,站点: {}, 错误信息: {}", site, e.getMessage(), e); |
|
|
|
throw new RuntimeException("获取固定载具列表失败: " + e.getMessage(), e); |
|
|
|
} |
|
|
|
} |
|
|
|
} |