|
@@ -9,6 +9,7 @@ import com.zhongzheng.modules.base.bo.*;
|
|
import com.zhongzheng.modules.base.service.IProfileTpService;
|
|
import com.zhongzheng.modules.base.service.IProfileTpService;
|
|
import com.zhongzheng.modules.base.service.IUserProfileService;
|
|
import com.zhongzheng.modules.base.service.IUserProfileService;
|
|
import com.zhongzheng.modules.base.vo.ProfileTpVo;
|
|
import com.zhongzheng.modules.base.vo.ProfileTpVo;
|
|
|
|
+import com.zhongzheng.modules.base.vo.UserProfileVo;
|
|
import com.zhongzheng.modules.user.entity.ClientLoginUser;
|
|
import com.zhongzheng.modules.user.entity.ClientLoginUser;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -70,7 +71,29 @@ public class ProfileTpController extends BaseController {
|
|
return toAjax(iUserProfileService.insertByAddBo(bo) ? 1 : 0);
|
|
return toAjax(iUserProfileService.insertByAddBo(bo) ? 1 : 0);
|
|
}
|
|
}
|
|
|
|
|
|
- @ApiOperation("新增填写资料审核")
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 修改填写资料审核
|
|
|
|
+ */
|
|
|
|
+ @ApiOperation("修改填写资料审核")
|
|
|
|
+ @PostMapping("edit")
|
|
|
|
+ public AjaxResult<Void> edit(@RequestBody UserProfileEditBo bo) {
|
|
|
|
+ ClientLoginUser loginUser = wxTokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
|
+ bo.setUserId(loginUser.getUser().getUserId());
|
|
|
|
+ return toAjax(iUserProfileService.updateByEditBo(bo) ? 1 : 0);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 获取填写资料审核详细信息
|
|
|
|
+ */
|
|
|
|
+ @ApiOperation("获取填写资料审核详细信息")
|
|
|
|
+ @GetMapping("/getInfo")
|
|
|
|
+ public AjaxResult<UserProfileVo> getInfo(UserProfileQueryBo bo) {
|
|
|
|
+ ClientLoginUser loginUser = wxTokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
|
+ bo.setUserId(loginUser.getUser().getUserId());
|
|
|
|
+ return AjaxResult.success(iUserProfileService.getInfo(bo));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @ApiOperation("导出word七大员")
|
|
@PostMapping("/addWord")
|
|
@PostMapping("/addWord")
|
|
public AjaxResult<Void> addWord(@RequestBody UserProfileAddBo bo) {
|
|
public AjaxResult<Void> addWord(@RequestBody UserProfileAddBo bo) {
|
|
ClientLoginUser loginUser = wxTokenService.getLoginUser(ServletUtils.getRequest());
|
|
ClientLoginUser loginUser = wxTokenService.getLoginUser(ServletUtils.getRequest());
|