| | |
| | | import com.zy.asrs.utils.Utils; |
| | | import com.zy.common.model.enums.WorkNoType; |
| | | import com.zy.common.service.CommonService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | import java.util.*; |
| | | import java.util.stream.Collectors; |
| | | |
| | | @Slf4j |
| | | @Service |
| | | public class AutoReplenishmentHandler extends AbstractHandler<String> { |
| | | |
| | |
| | | List<LocDetl> locDetls = locDetlService.selectByLocNo(locNo); |
| | | createWrkDetl(locDetls, wrkMast,order.getOrderNo(),now); |
| | | //修改库位状态 |
| | | log.warn("Flag - 24,{}库位状态变更,{} => {}", locMast.getLocNo(), locMast.getLocSts(), "R"); |
| | | locMast.setLocSts("R"); |
| | | locMastService.updateByLocNo(locMast); |
| | | } |