pms单位修改同步修改台账中的单位信息
bug
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
package com.njcn.device.pq.controller;
|
||||
|
||||
|
||||
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
|
||||
import com.njcn.common.pojo.response.HttpResult;
|
||||
import com.njcn.common.utils.HttpResultUtil;
|
||||
import com.njcn.user.pojo.po.Dept;
|
||||
import com.njcn.web.controller.BaseController;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
/**
|
||||
* pqs
|
||||
* 主要用于单位更新时候同步台账表里的相关单位信息
|
||||
* @author cdf
|
||||
* @date 2023/5/17
|
||||
*/
|
||||
@RestController
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
@RequestMapping("pmsLedger")
|
||||
public class PqLedgerDeptController extends BaseController {
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 针对pms兼容的空方法勿删
|
||||
* @author cdf
|
||||
* @date 2023/5/17
|
||||
*/
|
||||
@PostMapping("update")
|
||||
public HttpResult<Object> updateLedger(@RequestBody Dept dept){
|
||||
String methodDescribe = getMethodDescribe("updateLedger");
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, null, methodDescribe);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user