| | |
| | | package com.zy.asrs.controller; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.baomidou.mybatisplus.mapper.Wrapper; |
| | | import com.core.annotations.ManagerAuth; |
| | |
| | | import com.zy.asrs.entity.param.*; |
| | | import com.zy.asrs.service.*; |
| | | import com.zy.common.web.BaseController; |
| | | import io.swagger.models.auth.In; |
| | | import lombok.Synchronized; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.*; |
| | | import java.util.stream.Collectors; |
| | |
| | | @Transactional |
| | | @ManagerAuth(memo = "启动入库") |
| | | public R startPakin(@RequestBody AgvMobileStartPakin params){ |
| | | log.info("启动入库,{}", JSON.toJSONString(params)); |
| | | // 组托 |
| | | params.getCombParams().forEach(combParam -> { |
| | | agvMobileService.comb(combParam,getUserId()); |
| | |
| | | String barcode1 = agvLocMastByLocNo.getBarcode(); |
| | | |
| | | |
| | | |
| | | if((!Cools.eq("F",agvLocMastByLocNo.getLocSts()) |
| | | && !Cools.eq("D",agvLocMastByLocNo.getLocSts()))){ |
| | | |
| | |
| | | //return R.ok("该库位与货架库存一致,无需维护"); |
| | | return R.ok("维护成功"); |
| | | } |
| | | |
| | | |
| | | |
| | | // --------------3---------------------------- |
| | |
| | | |
| | | System.out.println(agvLocDetls22.equals(agvLocDetls2)); |
| | | } |
| | | |
| | | /* |
| | | 生成工作档 |
| | | */ |