自动化立体仓库 - WMS系统
zhangc
2025-01-09 433609b785d7ccecfc18206d7e258a768a908d7e
src/main/java/com/zy/asrs/controller/WrkMastLogController.java
@@ -84,7 +84,7 @@
   @ManagerAuth(memo = "工作历史档修改")
    public R update(WrkMastLog wrkMastLog){
        if (Cools.isEmpty(wrkMastLog) || null==wrkMastLog.getId()){
            return R.error();
            return R.error("不存在工作档");
        }
        wrkMastLogService.updateById(wrkMastLog);
        return R.ok();
@@ -95,7 +95,7 @@
    public R delete(@RequestParam String param){
        List<WrkMastLog> list = JSONArray.parseArray(param, WrkMastLog.class);
        if (Cools.isEmpty(list)){
            return R.error();
            return R.error("参数未上传");
        }
        for (WrkMastLog entity : list){
            wrkMastLogService.delete(new EntityWrapper<>(entity));