Commit 6d326d5d authored by wzp's avatar wzp

修改bug

parent cef41355
...@@ -185,14 +185,13 @@ public class AuditController extends BaseController { ...@@ -185,14 +185,13 @@ public class AuditController extends BaseController {
@RequiresPermissions("/audit/getById") @RequiresPermissions("/audit/getById")
public Map<String, Object> getById(String id) { public Map<String, Object> getById(String id) {
HashMap<String, Object> resultMap = new HashMap<>(); HashMap<String, Object> resultMap = new HashMap<>();
try { try {
Audit audit = new Audit(); Audit audit = new Audit();
UpdateWrapper<Audit> wrapper = new UpdateWrapper<>(); UpdateWrapper<Audit> wrapper = new UpdateWrapper<>();
wrapper.eq("ref_item_id", id); wrapper.eq("ref_item_id", id);
audit = auditService.getOne(wrapper); audit = auditService.getOne(wrapper);
resultMap.put("resultCode", "500"); resultMap.put("resultCode", "200");
resultMap.put("message", "用户未登录!"); resultMap.put("message", "操作成功");
resultMap.put("data", audit); resultMap.put("data", audit);
return resultMap; return resultMap;
} catch (Exception e) { } catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment