zouyu
8 天以前 56e6e0bf18c39a933aec78762b636fdf2efa8d68
inspect-server/src/main/java/com/ruoyi/inspect/aspect/MoveLocationAfterPushMesStockAspect.java
@@ -37,6 +37,9 @@
    private final static String LOCATION_NO = "WG-02-001";//mes外购合格库位
    public static final int DIGIT = 6;
    public static final String PREFIX ="KC";
    @AfterReturning(value = "execution(* com.ruoyi.inspect.service.impl.InsOrderServiceImpl.moveRawMaterial(..))")
    @Transactional(rollbackFor = Exception.class,isolation = Isolation.READ_COMMITTED)
    public void doAfterReturning(JoinPoint joinPoint) {
@@ -55,6 +58,8 @@
                        .last("limit 1")
                );
                if(Objects.nonNull(one)){
                    //生成系统编号
                    //同步MES实时库存
                    Map<String, Object> requestMap = new HashMap<>();
                    requestMap.put("partNo", one.getPartNo()); // 零件编号