Commit a3215fb8 by 邓实川 Committed by 284718418@qq.com

员工列表优化,电子合同创建个人账户身份类型更新

parent 487bae9a
...@@ -10,7 +10,6 @@ import org.springframework.context.annotation.Configuration; ...@@ -10,7 +10,6 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;
import org.springframework.http.converter.HttpMessageConverter; import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.web.method.support.HandlerMethodArgumentResolver; import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
......
...@@ -210,10 +210,10 @@ public class DzhtController2 { ...@@ -210,10 +210,10 @@ public class DzhtController2 {
// List<Integer> orgCodeList = Lists.transform(list, newList -> newList.getOrgCode()); // List<Integer> orgCodeList = Lists.transform(list, newList -> newList.getOrgCode());
List<String> orgIds = new ArrayList<String>(); List<String> orgIds = new ArrayList<String>();
// for (Integer orgCode : orgCodeList) { // for (Integer orgCode : orgCodeList) {
DzhtAssoQyzc qyzc = DzhtAssoQyzc.builder().build().selectOne(new QueryWrapper<DzhtAssoQyzc>().lambda() DzhtAssoQyzc qyzc = DzhtAssoQyzc.builder().build().selectOne(new QueryWrapper<DzhtAssoQyzc>().lambda()
.eq(DzhtAssoQyzc::getOrgCode, userBean.getOrgCode()).select(DzhtAssoQyzc::getOrgId)); .eq(DzhtAssoQyzc::getOrgCode, userBean.getOrgCode()).select(DzhtAssoQyzc::getOrgId));
if (qyzc != null) if (qyzc != null)
orgIds.add(qyzc.getOrgId()); orgIds.add(qyzc.getOrgId());
// } // }
JSONObject j = null; JSONObject j = null;
List<JSONObject> result = new ArrayList<JSONObject>(); List<JSONObject> result = new ArrayList<JSONObject>();
...@@ -276,7 +276,7 @@ public class DzhtController2 { ...@@ -276,7 +276,7 @@ public class DzhtController2 {
@GetMapping("/qryOrgSeal") @GetMapping("/qryOrgSeal")
@ApiOperation(value = "查询机构模板印章", httpMethod = "GET", notes = "接口发布说明") @ApiOperation(value = "查询机构模板印章", httpMethod = "GET", notes = "接口发布说明")
public Result<Object> qryOrgSeal(@CurrentUser UserBean userBean, @RequestParam Integer offset, public Result<Object> qryOrgSeal(@CurrentUser UserBean userBean, @RequestParam Integer offset,
@RequestParam Integer size) { @RequestParam Integer size) {
JSONObject a = null; JSONObject a = null;
try { try {
TokenHelper.getTokenData();// 获取鉴权 TokenHelper.getTokenData();// 获取鉴权
...@@ -298,7 +298,7 @@ public class DzhtController2 { ...@@ -298,7 +298,7 @@ public class DzhtController2 {
@PostMapping("/addComponents/{templateId}") @PostMapping("/addComponents/{templateId}")
@ApiOperation(value = "添加输入项组件", httpMethod = "POST", notes = "接口发布说明") @ApiOperation(value = "添加输入项组件", httpMethod = "POST", notes = "接口发布说明")
public Result<Object> addComponents(@PathVariable String templateId, public Result<Object> addComponents(@PathVariable String templateId,
@RequestBody List<StructComponent> structComponents) { @RequestBody List<StructComponent> structComponents) {
List<String> l = new ArrayList<String>(); List<String> l = new ArrayList<String>();
for (StructComponent structComponent : structComponents) { for (StructComponent structComponent : structComponents) {
...@@ -867,7 +867,7 @@ public class DzhtController2 { ...@@ -867,7 +867,7 @@ public class DzhtController2 {
@GetMapping("/qrySignArea") @GetMapping("/qrySignArea")
@ApiOperation(value = "查询签署区列表", httpMethod = "GET", notes = "接口发布说明") @ApiOperation(value = "查询签署区列表", httpMethod = "GET", notes = "接口发布说明")
public Result<Object> qrySignArea(@RequestParam String flowId, @RequestParam(required = false) String accountId, public Result<Object> qrySignArea(@RequestParam String flowId, @RequestParam(required = false) String accountId,
@RequestParam(required = false) String signfieldIds) { @RequestParam(required = false) String signfieldIds) {
JSONObject json = null; JSONObject json = null;
try { try {
TokenHelper.getTokenData();// 获取鉴权 TokenHelper.getTokenData();// 获取鉴权
...@@ -932,7 +932,7 @@ public class DzhtController2 { ...@@ -932,7 +932,7 @@ public class DzhtController2 {
@GetMapping("/qrySignUrl") @GetMapping("/qrySignUrl")
@ApiOperation(value = "获取签署地址", httpMethod = "GET", notes = "接口发布说明") @ApiOperation(value = "获取签署地址", httpMethod = "GET", notes = "接口发布说明")
public Result<Object> qrySignUrl(@CurrentUser UserBean userBean, @RequestParam String flowId, public Result<Object> qrySignUrl(@CurrentUser UserBean userBean, @RequestParam String flowId,
@RequestParam(required = false) String organizeId, @RequestParam(required = false) String urlType) { @RequestParam(required = false) String organizeId, @RequestParam(required = false) String urlType) {
JSONObject json = null; JSONObject json = null;
try { try {
QueryWrapper<DzhtAssoGrzc> queryWrapper = new QueryWrapper<DzhtAssoGrzc>(); QueryWrapper<DzhtAssoGrzc> queryWrapper = new QueryWrapper<DzhtAssoGrzc>();
...@@ -954,8 +954,8 @@ public class DzhtController2 { ...@@ -954,8 +954,8 @@ public class DzhtController2 {
@PutMapping("/rushsign") @PutMapping("/rushsign")
@ApiOperation(value = "流程签署人催签", httpMethod = "PUT", notes = "接口发布说明") @ApiOperation(value = "流程签署人催签", httpMethod = "PUT", notes = "接口发布说明")
public Result<Object> rushsign(@CurrentUser UserBean userBean, @RequestParam String flowId, public Result<Object> rushsign(@CurrentUser UserBean userBean, @RequestParam String flowId,
@RequestParam(required = false) String noticeTypes, @RequestParam(required = false) String noticeTypes,
@RequestParam(required = false) String rushsignAccountId) { @RequestParam(required = false) String rushsignAccountId) {
try { try {
TokenHelper.getTokenData();// 获取鉴权 TokenHelper.getTokenData();// 获取鉴权
...@@ -974,7 +974,7 @@ public class DzhtController2 { ...@@ -974,7 +974,7 @@ public class DzhtController2 {
@PutMapping("/revoke") @PutMapping("/revoke")
@ApiOperation(value = "撤回签署流程", httpMethod = "PUT", notes = "接口发布说明") @ApiOperation(value = "撤回签署流程", httpMethod = "PUT", notes = "接口发布说明")
public Result<Object> revoke(@CurrentUser UserBean userBean, @RequestParam String flowId, public Result<Object> revoke(@CurrentUser UserBean userBean, @RequestParam String flowId,
@RequestParam(required = false) String revokeReason) { @RequestParam(required = false) String revokeReason) {
String operatorId = null; String operatorId = null;
try { try {
TokenHelper.getTokenData();// 获取鉴权 TokenHelper.getTokenData();// 获取鉴权
...@@ -1027,16 +1027,16 @@ public class DzhtController2 { ...@@ -1027,16 +1027,16 @@ public class DzhtController2 {
/** /**
* 获取当前用户发起的签署流程 * 获取当前用户发起的签署流程
* *
* @param flowId * @param flowId
* @return * @return
*/ */
@GetMapping("/getFqlc") @GetMapping("/getFqlc")
@ApiOperation(value = "当前用户发起的签署流程", httpMethod = "GET", notes = "接口发布说明") @ApiOperation(value = "当前用户发起的签署流程", httpMethod = "GET", notes = "接口发布说明")
public Result<Object> getFqlc(@CurrentUser UserBean userBean, public Result<Object> getFqlc(@CurrentUser UserBean userBean,
@RequestParam(required = false, defaultValue = "1") Integer currPage, @RequestParam(required = false, defaultValue = "1") Integer currPage,
@RequestParam(required = false, defaultValue = "10") Integer pageSize, @RequestParam(required = false, defaultValue = "10") Integer pageSize,
@RequestParam(required = false) String query) { @RequestParam(required = false) String query) {
com.github.pagehelper.Page<Object> page = PageHelper.startPage(currPage, pageSize); com.github.pagehelper.Page<Object> page = PageHelper.startPage(currPage, pageSize);
List<DzhtAssoCjlc> cjlcs = DzhtAssoCjlc.builder().build() List<DzhtAssoCjlc> cjlcs = DzhtAssoCjlc.builder().build()
.selectList(new QueryWrapper<DzhtAssoCjlc>().like(query != null, "business_scene", query) .selectList(new QueryWrapper<DzhtAssoCjlc>().like(query != null, "business_scene", query)
...@@ -1089,18 +1089,18 @@ public class DzhtController2 { ...@@ -1089,18 +1089,18 @@ public class DzhtController2 {
/** /**
* 获取当前用户收到的签署流程 * 获取当前用户收到的签署流程
* *
* @param currPage * @param currPage
* *
* @param flowId * @param flowId
* @return * @return
*/ */
@GetMapping("/getSdlc") @GetMapping("/getSdlc")
@ApiOperation(value = "当前用户收到的签署流程", httpMethod = "GET", notes = "接口发布说明") @ApiOperation(value = "当前用户收到的签署流程", httpMethod = "GET", notes = "接口发布说明")
public Result<Object> getSdlc(@CurrentUser UserBean userBean, public Result<Object> getSdlc(@CurrentUser UserBean userBean,
@RequestParam(required = false, defaultValue = "1") Integer currPage, @RequestParam(required = false, defaultValue = "1") Integer currPage,
@RequestParam(required = false, defaultValue = "10") Integer pageSize, @RequestParam(required = false, defaultValue = "10") Integer pageSize,
@RequestParam(required = false) String query) { @RequestParam(required = false) String query) {
List<JSONObject> json = new ArrayList<JSONObject>(); List<JSONObject> json = new ArrayList<JSONObject>();
com.github.pagehelper.Page<Object> page = PageHelper.startPage(currPage, pageSize); com.github.pagehelper.Page<Object> page = PageHelper.startPage(currPage, pageSize);
......
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