Browse Source

开发环境排错

master
HAHA 3 years ago
parent
commit
d92daf531d
  1. 3
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/GridController.java

3
epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/GridController.java

@ -15,6 +15,7 @@ import com.epmet.feign.EpmetMessageOpenFeignClient;
import com.epmet.send.SendMqMsgUtil; import com.epmet.send.SendMqMsgUtil;
import com.epmet.service.CustomerGridService; import com.epmet.service.CustomerGridService;
import com.epmet.service.CustomerStaffAgencyService; import com.epmet.service.CustomerStaffAgencyService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
@ -26,6 +27,7 @@ import java.util.List;
*/ */
@RestController @RestController
@RequestMapping("grid") @RequestMapping("grid")
@Slf4j
public class GridController { public class GridController {
@Autowired @Autowired
@ -77,6 +79,7 @@ public class GridController {
public Result editGrid(@LoginUser TokenDto tokenDto, @RequestBody EditGridFormDTO editGridFormDTO){ public Result editGrid(@LoginUser TokenDto tokenDto, @RequestBody EditGridFormDTO editGridFormDTO){
ValidatorUtils.validateEntity(editGridFormDTO, EditGridFormDTO.EditGrid.class); ValidatorUtils.validateEntity(editGridFormDTO, EditGridFormDTO.EditGrid.class);
editGridFormDTO.setCustomerId(tokenDto.getCustomerId()); editGridFormDTO.setCustomerId(tokenDto.getCustomerId());
log.error("s",editGridFormDTO.getSort());
Result result = customerGridService.editGrid(tokenDto,editGridFormDTO); Result result = customerGridService.editGrid(tokenDto,editGridFormDTO);
//2021-10-18 推送mq,数据同步到中介库 start //2021-10-18 推送mq,数据同步到中介库 start

Loading…
Cancel
Save