| | |
| | | @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")); |