Commit d103852e by 邓实川 Committed by chenzg

电子合同

parent 40b5d967
......@@ -233,7 +233,7 @@ public class DzhtController {
return ResultUtil.data(list);
}
final static String savePath = "E:\\esignHtmb";// 本地服务器文件保存路径
final static String savePath = "esignTemplate";// 本地服务器文件保存路径
final static String APP_ID = ConfigConstant.PROJECT_ID;// 项目id
final static String APP_SECRET = ConfigConstant.PROJECT_SECRET;// 项目密码
// final static String RE_TOKEN = "8b58973c290cc848b67ff0017cd424ff";
......@@ -680,6 +680,9 @@ public class DzhtController {
@GetMapping("/queryName")
@ApiOperation(value = "查员工名字", httpMethod = "GET", notes = "接口发布说明")
public Result<Object> getName(@RequestParam String empNum) {
System.err.println(System.getProperty("os.name"));
System.err.println(System.getProperty("os.arch"));
System.err.println(System.getProperty("os.version"));
return ResultUtil.data(YgglMainEmp.builder().build()
.selectOne(new QueryWrapper<YgglMainEmp>().eq("emp_num", empNum)).getName());
}
......
......@@ -192,7 +192,8 @@ public class DzhtController2 {
@ApiOperation(value = "创建机构模板印章", httpMethod = "POST", notes = "接口发布说明")
public Result<Object> orgTemplate(@CurrentUser UserBean userBean, @RequestBody DzhtAssoQyyz qyyz) {
String orgId = DzhtAssoQyzc.builder().build().selectOne(
new QueryWrapper<DzhtAssoQyzc>().eq("third_party_user_id", qyyz.getThirdPartyUserId()).select("org_id"))
// new QueryWrapper<DzhtAssoQyzc>().eq("third_party_user_id", qyyz.getThirdPartyUserId()).select("org_id"))
new QueryWrapper<DzhtAssoQyzc>().eq("org_code", userBean.getOrgCode()).select("org_id"))
.getOrgId();// 查询orgId
// String orgId = "dfd84b9a58d345ea90f6711bad853435";// 测试公司账户
// 印章参数
......
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