|
|
@ -17,37 +17,27 @@ |
|
|
|
|
|
|
|
package com.elink.esua.epdc.controller; |
|
|
|
|
|
|
|
import com.elink.esua.epdc.commons.tools.page.PageData; |
|
|
|
import com.elink.esua.epdc.commons.tools.utils.ExcelUtils; |
|
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
|
import com.elink.esua.epdc.commons.tools.validator.AssertUtils; |
|
|
|
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils; |
|
|
|
import com.elink.esua.epdc.commons.tools.validator.group.AddGroup; |
|
|
|
import com.elink.esua.epdc.commons.tools.validator.group.DefaultGroup; |
|
|
|
import com.elink.esua.epdc.commons.tools.validator.group.UpdateGroup; |
|
|
|
import com.elink.esua.epdc.dto.UserWxFormIdDTO; |
|
|
|
import com.elink.esua.epdc.dto.epdc.form.EpdcUserWxFormIdFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.epdc.form.EpdcUserWxFormIdSaveFormDTO; |
|
|
|
import com.elink.esua.epdc.excel.UserWxFormIdExcel; |
|
|
|
import com.elink.esua.epdc.dto.epdc.form.EpdcUserSaveWxFormIdFormDTO; |
|
|
|
import com.elink.esua.epdc.service.UserWxFormIdService; |
|
|
|
import org.springframework.beans.BeanUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 用户标签表 |
|
|
|
* 微信formId表 |
|
|
|
* |
|
|
|
* @author qu qu@elink-cn.com |
|
|
|
* @since v1.0.0 2019-09-26 |
|
|
|
*/ |
|
|
|
@RestController |
|
|
|
@RequestMapping("wxformid") |
|
|
|
public class EpdcAooUserWxFormIdController { |
|
|
|
public class EpdcAppUserWxFormIdController { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private UserWxFormIdService userWxFormIdService; |
|
|
@ -69,14 +59,14 @@ public class EpdcAooUserWxFormIdController { |
|
|
|
} |
|
|
|
|
|
|
|
/*** |
|
|
|
* 新增一跳 |
|
|
|
* 新增一条 |
|
|
|
* @param dto |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
|
* @author qushutong |
|
|
|
* @date 2019/9/26 14:25 |
|
|
|
*/ |
|
|
|
@PostMapping("save") |
|
|
|
public Result delete(@RequestBody EpdcUserWxFormIdSaveFormDTO dto) { |
|
|
|
public Result save(@RequestBody EpdcUserSaveWxFormIdFormDTO dto) { |
|
|
|
//效验数据
|
|
|
|
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); |
|
|
|
UserWxFormIdDTO userWxFormIdDTO = new UserWxFormIdDTO(); |