commit code

This commit is contained in:
super_liu
2021-06-08 16:16:26 +08:00
commit 7dcf0b0406
724 changed files with 145710 additions and 0 deletions
@@ -0,0 +1,26 @@
package com.ydw.bat.wkflow.business_auth;
import java.util.List;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import com.tmsps.fk.common.wrapper.Wrapper;
@Component
@FeignClient(value = "${wkfow.auth}",path="/fk-auth",url="")
@RequestMapping("/api/usr")
public interface AuUsrFeignService {
@GetMapping("/departManager")
public Wrapper<List<String>> getDepartManager(@RequestParam("currentUsrId") String currentUsrId);
@GetMapping("/generalManager")
public Wrapper<List<String>> getGeneralManager();
@GetMapping("/finance")
public Wrapper<List<String>> getFinance();
}
@@ -0,0 +1,19 @@
package com.ydw.bat.wkflow.business_auth;
/**
* @Author 刘凌枫羽
* @Date 2020/12/11 20:23
* @Version 1.0
*/
public class JsonData {
String json;
public String getJson() {
return json;
}
public void setJson(String json) {
this.json = json;
}
}
@@ -0,0 +1,87 @@
package com.ydw.bat.wkflow.business_auth;
import com.github.pagehelper.PageInfo;
import com.tmsps.fk.common.wrapper.Wrapper;
import com.ydw.bat.wkflow.business_main.datas.entity.*;
import feign.Headers;
import feign.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.*;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;
@Component
@FeignClient(value = "LAWSSystem2",path="/api",url="")
@RequestMapping("/")
public interface LawsUserInfoService {
@GetMapping("sys/org/getManagerByOrgId")
public ResponseMessage<List<OrgEO>> getManagerByOrgId(@RequestParam("roleName") String currentUsrId, @RequestParam("orgId") String orgId);
@GetMapping("sys/org/getOrgByUserId")
public ResponseMessage<String> getOrgByUserId(@RequestParam("userId") String userId);
/**
* 废止(企标复审)
* @param standCode
* @param standName
* @return
*/
@GetMapping("lawss/sarBussionessStand/listByPage")
public ResponseMessage<List<SarBussionessStandEO>> standList(@RequestParam("standCode")String standCode, @RequestParam("standName")String standName);
@PostMapping("lawss/sarBussionessStand/addOrUpdateStandState")
void addOrUpdateStandState(SarBussionessStandStateEO sarBussionessStandStateEO);
@GetMapping("lawss/sarBussStandPlan/listByPage")
public ResponseMessage<List<SarBussStandPlanEO>> standPlanList(@RequestParam("standCode")String standCode, @RequestParam("standName")String standName);
@GetMapping("sys/user/getById")
public ResponseMessage<UserVO> getById(@RequestParam("id") String id);
@GetMapping("lawss/sarProductInfo/queryMap")
public ResponseMessage<Map<String, List<String>>> queryMap();
@GetMapping("sys/org/getUserId")
public String getUserId(@RequestParam("roleId")String roleId,
@RequestParam("userId")String userId,
@RequestParam("hierarchy")String hierarchy);
@GetMapping("sys/org/getManagerByOrgIdNew")
public ResponseMessage<List<OrgEO>> getManagerByOrgIdNew(@RequestParam("roleName") String currentUsrId);
@GetMapping("lawss/sarProductUser/queryUser")
public String queryUser(@RequestParam("accessId") String accessId);
@GetMapping("sys/org/getUserByRoleId")
public String getUserByRoleId(@RequestParam("roleId") String roleId);
@GetMapping("sys/org/getLoginUserId")
public String getLoginUserId();
@GetMapping("lawss/activiti/activiti_define_start1")
public Map<String,String> activiti_define_start(@RequestParam("id") String id,@RequestParam("userId") String userId);
@PostMapping("person/personMsg/saveNew")
public String saveNewPersonMsg(PersonMsgEO personMsgEO);
@PostMapping("lawss/mail/sendMail")
public ResponseMessage sendMail(@RequestParam("userId") Set<String> userId,@RequestParam("msg") String msg);
@GetMapping("sys/role/getParentIds")
public ResponseMessage getParentIds(@RequestParam("id") String id);
@PostMapping("sys/role/getFoByDREs")
void getFoByDREs(@RequestParam("ids") String ids,@RequestParam("msg") String msg);
@PostMapping("sys/role/xxxxx")
void xxxx (@RequestParam("standList") List<String> standList,@RequestParam("projectList") List<String> projectList);
@GetMapping("lawss/mail/sendMailByUserIdFeign")
public ResponseMessage sendEmail(@RequestParam("userId") String userId, @RequestParam("msg") String msg, @RequestParam("title") String title);
}