| | |
| | | @ManagerAuth(memo = "工作序号修改") |
| | | public R update(WrkLastno wrkLastno){ |
| | | if (Cools.isEmpty(wrkLastno) || null==wrkLastno.getWrkMk()){ |
| | | return R.error(); |
| | | return R.error("参数缺失"); |
| | | } |
| | | wrkLastno.setModiUser(getUserId()); |
| | | wrkLastno.setModiTime(new Date()); |
| | |
| | | public R delete(@RequestParam String param){ |
| | | List<WrkLastno> list = JSONArray.parseArray(param, WrkLastno.class); |
| | | if (Cools.isEmpty(list)){ |
| | | return R.error(); |
| | | return R.error("参数缺失"); |
| | | } |
| | | for (WrkLastno entity : list){ |
| | | wrkLastnoService.delete(new EntityWrapper<>(entity)); |