| | |
| | | QueryWrapper<Damage> queryWrapper = new QueryWrapper<>(); |
| | | queryWrapper.eq("process_id", flowCardId); |
| | | queryWrapper.eq("technology_number", layer); |
| | | |
| | | int otherNumber = damageservice.count(queryWrapper); |
| | | UpdateWrapper<DownWorkstation> updateWrapper = new UpdateWrapper<>(); |
| | | updateWrapper.set("total_quantity", glassInfoCount) |
| | |
| | | .set("layer", layer) |
| | | .set("other_number", otherNumber) |
| | | .eq("workstation_id", workstationId); |
| | | |
| | | // .eq("id", workstationId); |
| | | this.update(updateWrapper); |
| | | |
| | | } |
| | |
| | | redisUtil.setCacheObject("autoPrint", flag); |
| | | } |
| | | |
| | | @Override |
| | | public void insertDownWorkstation() { |
| | | DownWorkstation downWorkstation = new DownWorkstation(); |
| | | downWorkstation.setWorkstationId(7); |
| | | downWorkstation.setTotalQuantity(0); |
| | | downWorkstation.setRacksNumber(0); |
| | | downWorkstation.setOtherNumber(0); |
| | | downWorkstation.setDeviceId(3); |
| | | downWorkstation.setEnableState(1); |
| | | downWorkstation.setWorkState(1); |
| | | baseMapper.insert(downWorkstation); |
| | | } |
| | | |
| | | |
| | | } |