| | |
| | | ioType = "101.出库"; |
| | | } |
| | | String[] split = ioType.split("\\."); |
| | | Double l = count.get(ioType); |
| | | Double l = count.get(split[1]); |
| | | if (l == null) { |
| | | count.put(split[1], record.getAnfme()); |
| | | } else { |
| | |
| | | @ManagerAuth |
| | | public R update(WrkMastDetlLog wrkMastDetlLog) { |
| | | if (Cools.isEmpty(wrkMastDetlLog)) { |
| | | return R.error(); |
| | | return R.error("参数缺失"); |
| | | } |
| | | wrkMastDetlLogService.updateById(wrkMastDetlLog); |
| | | return R.ok(); |
| | |
| | | } |
| | | |
| | | @RequestMapping(value = "/wrkMastDetlLog/export/auth") |
| | | @ManagerAuth |
| | | public R export(@RequestBody JSONObject param) { |
| | | @ManagerAuth(memo = "工作历史档明细导出") |
| | | public synchronized R export(@RequestBody JSONObject param) { |
| | | EntityWrapper<WrkMastDetlLog> wrapper = new EntityWrapper<>(); |
| | | List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class); |
| | | Map<String, Object> map = excludeTrash(param.getJSONObject("wrkMastDetlLog")); |