2025-12-18康农种业项目初始化
This commit is contained in:
23
seeyon/WEB-INF/cfgHome/plugin/fadadaSys/fadada.properties
Normal file
23
seeyon/WEB-INF/cfgHome/plugin/fadadaSys/fadada.properties
Normal file
@@ -0,0 +1,23 @@
|
||||
profile=prod
|
||||
prod.appId=00000515
|
||||
prod.appSecret=HA8FU5HYTS6UT1SUVPBWSYXR71WWAMWA
|
||||
prod.serverUrl=https://api.fadada.com/api/v5/
|
||||
prod.openId=b04cdce3f5f94e828659ad1a29a43d46
|
||||
#prod.notification=http://116.63.183.3/seeyon/rest/flow/notification/
|
||||
#prod.oatoken=http://116.63.183.3/seeyon/rest/token/
|
||||
#prod.restname=fadada
|
||||
#prod.restpassword=46e0b5e8-6100-4d3f-a7a1-0aebbecd2df8
|
||||
prod.notification=http://223.75.120.166:8888/seeyon/rest/flow/notification/
|
||||
prod.oatoken=http://223.75.120.166:8888/seeyon/rest/token/
|
||||
prod.restname=fadada
|
||||
prod.restpassword=eb2cbc53-136e-4f91-b150-4f3def61552b
|
||||
|
||||
#profile=prod
|
||||
test.appId=00000991
|
||||
test.appSecret=UJUABDKUSTGDYVGBSG1MAAALOO1Z9754
|
||||
test.serverUrl=https://uat-api.fadada.com/api/v5/
|
||||
test.openId=d9241ef7886b46919952b224838c7b06
|
||||
test.notification=http://39.103.213.20/seeyon/rest/flow/notification/
|
||||
test.oatoken=http://39.103.213.20/seeyon/rest/token/
|
||||
test.restname=xiuba
|
||||
test.restpassword=b70c6492-65b5-4695-8176-eefb8748b0a9
|
||||
6
seeyon/WEB-INF/cfgHome/plugin/fadadaSys/pluginCfg.xml
Normal file
6
seeyon/WEB-INF/cfgHome/plugin/fadadaSys/pluginCfg.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<plugin>
|
||||
<id>fadadaSys</id>
|
||||
<name>法大大集成</name>
|
||||
<category>20230625</category>
|
||||
</plugin>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
<beans default-autowire="byName">
|
||||
<bean name="/QsState.do" class="com.seeyon.apps.fadadaSys.ctrl.QsStateController"></bean>
|
||||
</beans>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
<beans default-autowire="byName">
|
||||
<bean id="fadadaDao" class="com.seeyon.apps.fadadaSys.dao.FadadaDaoImpl"></bean>
|
||||
<bean id="fahuodanDao" class="com.seeyon.apps.fadadaSys.dao.FahuodanDao"></bean>
|
||||
</beans>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
<beans default-autowire="byName">
|
||||
<bean id="shiMingEvent" class="com.seeyon.apps.fadadaSys.event.ShiMingEvent" />
|
||||
</beans>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
<beans default-autowire="byName">
|
||||
<bean id="fadadaNode" class="com.seeyon.apps.fadadaSys.node.FadadaNode" />
|
||||
<bean id="fadadaDiaoRuNode" class="com.seeyon.apps.fadadaSys.node.FadadaDiaoRuNode" />
|
||||
<bean id="shiMingNode" class="com.seeyon.apps.fadadaSys.node.ShiMingNode" />
|
||||
<bean id="mianQianNode" class="com.seeyon.apps.fadadaSys.node.MianQianNode" />
|
||||
<bean id="fadadaDataReturnNode" class="com.seeyon.apps.fadadaSys.node.FadadaDataReturnNode" />
|
||||
<bean id="unbindUserNode" class="com.seeyon.apps.fadadaSys.node.UnbindUserNode" />
|
||||
<bean id="updateShiMingErcodeNode" class="com.seeyon.apps.fadadaSys.node.UpdateShiMingErcodeNode" />
|
||||
<bean id="textNode" class="com.seeyon.apps.fadadaSys.node.TextNode" />
|
||||
<bean id="erCodeBGNode" class="com.seeyon.apps.fadadaSys.node.ErCodeBGNode" />
|
||||
</beans>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
<beans default-autowire="byName">
|
||||
<bean id="fadadaReturnServer" class="com.seeyon.apps.fadadaSys.server.FadadaReturnServer" />
|
||||
<bean id="erCodeStateService" class="com.seeyon.apps.fadadaSys.server.ErCodeStateService" />
|
||||
</beans>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
<beans default-autowire="byName">
|
||||
<bean id="fadadaReturnServlet" class="com.seeyon.apps.fadadaSys.servlet.FadadaReturnServlet"></bean>
|
||||
<bean id="confirmSignServlet" class="com.seeyon.apps.fadadaSys.servlet.ConfirmSignServlet"></bean>
|
||||
</beans>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
<beans default-autowire="byName">
|
||||
<bean id="autoSendProcureTask" class="com.seeyon.apps.fadadaSys.task.AutoSendProcureTask"></bean>
|
||||
</beans>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<plugin>
|
||||
<id>src_region_serialnum</id>
|
||||
<name>销售合同地区流水号自动生成</name>
|
||||
<category>20220830</category>
|
||||
</plugin>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
|
||||
<beans default-autowire="byName">
|
||||
<bean id="regionSerialnumDao" class="com.seeyon.apps.src_region_serialnum.dao.RegionSerialnumDaoImpl">
|
||||
</bean>
|
||||
</beans>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
|
||||
<beans default-autowire="byName">
|
||||
<bean id="regionSerialnumEvent" class="com.seeyon.apps.src_region_serialnum.event.RegionSerialnumEvent">
|
||||
</bean>
|
||||
</beans>
|
||||
23
seeyon/WEB-INF/cfgHome/plugin/updateErCode/fadada.properties
Normal file
23
seeyon/WEB-INF/cfgHome/plugin/updateErCode/fadada.properties
Normal file
@@ -0,0 +1,23 @@
|
||||
profile=prod
|
||||
prod.appId=00000515
|
||||
prod.appSecret=HA8FU5HYTS6UT1SUVPBWSYXR71WWAMWA
|
||||
prod.serverUrl=https://api.fadada.com/api/v5/
|
||||
prod.openId=b04cdce3f5f94e828659ad1a29a43d46
|
||||
#prod.notification=http://116.63.183.3/seeyon/rest/flow/notification/
|
||||
#prod.oatoken=http://116.63.183.3/seeyon/rest/token/
|
||||
#prod.restname=fadada
|
||||
#prod.restpassword=46e0b5e8-6100-4d3f-a7a1-0aebbecd2df8
|
||||
prod.notification=http://223.75.120.166:8888/seeyon/rest/flow/notification/
|
||||
prod.oatoken=http://223.75.120.166:8888/seeyon/rest/token/
|
||||
prod.restname=fadada
|
||||
prod.restpassword=eb2cbc53-136e-4f91-b150-4f3def61552b
|
||||
|
||||
#profile=prod
|
||||
test.appId=00000991
|
||||
test.appSecret=UJUABDKUSTGDYVGBSG1MAAALOO1Z9754
|
||||
test.serverUrl=https://uat-api.fadada.com/api/v5/
|
||||
test.openId=d9241ef7886b46919952b224838c7b06
|
||||
test.notification=http://39.103.213.20/seeyon/rest/flow/notification/
|
||||
test.oatoken=http://39.103.213.20/seeyon/rest/token/
|
||||
test.restname=xiuba
|
||||
test.restpassword=b70c6492-65b5-4695-8176-eefb8748b0a9
|
||||
6
seeyon/WEB-INF/cfgHome/plugin/updateErCode/pluginCfg.xml
Normal file
6
seeyon/WEB-INF/cfgHome/plugin/updateErCode/pluginCfg.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<plugin>
|
||||
<id>updateErCode</id>
|
||||
<name>二维码更新</name>
|
||||
<category>20231019</category>
|
||||
</plugin>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
<beans default-autowire="byName">
|
||||
<bean id="openUnflowFieldCtrl" class="com.seeyon.apps.updateErCode.ctrl.OpenUnflowFieldCtrl"></bean>
|
||||
</beans>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
<beans default-autowire="byName">
|
||||
<bean id="newErCodeDao" class="com.seeyon.apps.updateErCode.dao.NewErCodeDao"></bean>
|
||||
</beans>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
<beans default-autowire="byName">
|
||||
<bean id="newErCodeService" class="com.seeyon.apps.updateErCode.server.NewErCodeService" />
|
||||
</beans>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||
<beans default-autowire="byName">
|
||||
<bean id="newErCodeServlet" class="com.seeyon.apps.updateErCode.servlet.NewErCodeServlet"></bean>
|
||||
</beans>
|
||||
@@ -0,0 +1,27 @@
|
||||
.customButton_class_box {
|
||||
width: 100%;
|
||||
line-height: 24px;
|
||||
height:24px;
|
||||
color: #1f85ec;
|
||||
cursor: pointer;
|
||||
font-family: "Microsoft YaHei"!important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
word-break:keep-all;
|
||||
}
|
||||
.customButton_box_content{
|
||||
width: 100%;
|
||||
height: 24px;
|
||||
box-sizing: border-box;
|
||||
-webkit-box-sizing : border-box;
|
||||
-moz-box-sizing : border-box;
|
||||
text-align: center;
|
||||
outline: none;
|
||||
border: 1px solid #1f85ec;
|
||||
background-color: #fff;
|
||||
border-radius: 15px;
|
||||
-webkit-border-radius: 15px;
|
||||
-moz-border-radius: 15px;
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 101 KiB |
@@ -0,0 +1,13 @@
|
||||
.relation_container .panel_bottom .zidong_guanlian .guanlian_map{
|
||||
padding-left: 10px;
|
||||
}
|
||||
.relation_container .panel_bottom .zidong_guanlian .guanlian_map .error-title{
|
||||
margin: 0 2px;
|
||||
visibility: hidden;
|
||||
}
|
||||
.relation_container .panel_bottom .zidong_guanlian .guanlian_map .error-title.active{
|
||||
visibility: visible;
|
||||
}
|
||||
.relation_container .biz_groupguanlian .div_sel3.active{
|
||||
border-color: red;
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
body{
|
||||
font-family: "microsoft yahei";
|
||||
}
|
||||
#tab {
|
||||
height: 26px;
|
||||
width: 100%;
|
||||
border-bottom: 1px solid #666666;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
#tab span {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
width: 50%;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
color: #666666;
|
||||
margin-right: 20px;
|
||||
padding: 0 5px 0 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
#tab span.select {
|
||||
border-bottom: 2px solid #2453b3;
|
||||
color: #2453b3;
|
||||
}
|
||||
|
||||
.list{
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 14px;
|
||||
height: 310px;
|
||||
overflow: auto;
|
||||
}
|
||||
.list .active{
|
||||
background-color: #1F85EC;
|
||||
border: 1px solid #1F85EC;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.list li{
|
||||
cursor: pointer;
|
||||
margin: 3px 0 3px 0;
|
||||
}
|
||||
.list span{
|
||||
display: inline-block;
|
||||
background: url("img/icon16.png") -32px -240px no-repeat scroll transparent;
|
||||
margin-right: 2px;
|
||||
vertical-align: middle;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.search-box {
|
||||
height: 20px;
|
||||
margin: 10px 0 10px 0;
|
||||
position: relative;
|
||||
}
|
||||
.cap-icon-sousuo {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 170px;
|
||||
color: #1F85EC;
|
||||
font-size: 20px;
|
||||
line-height: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.cap-icon-sousuo:before {
|
||||
content: "";
|
||||
background: url("img/icon16.png") -192px -176px no-repeat;
|
||||
height: 16px;
|
||||
line-height: 16px;
|
||||
width: 16px;
|
||||
font-size: 12px;
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
.search-input {
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #D4D4D4;
|
||||
border-radius: 100px;
|
||||
min-height: 20px;
|
||||
width: 150px;
|
||||
padding-right: 35px;
|
||||
padding-left: 10px;
|
||||
outline: none;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="../css/setTemplate.css"/>
|
||||
<script src="/seeyon/m3/apps/v5/commons/jquery/jquery-2.1.4.min.js"></script>
|
||||
<script src="../js/setTemplate.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="tab">
|
||||
<span id="tab_queryList" class="select">选择底表</span>
|
||||
</div>
|
||||
|
||||
<div id="queryList">
|
||||
<div class="search-box">
|
||||
<i class="cap-icon-sousuo" onclick="search()"></i>
|
||||
<input type="text" class="search-input" id="search_query">
|
||||
</div>
|
||||
<ul class="list"></ul>
|
||||
</div>
|
||||
</body>
|
||||
<script type="text/javascript">
|
||||
|
||||
//----------------------------------
|
||||
</script>
|
||||
</html>
|
||||
@@ -0,0 +1,128 @@
|
||||
(function(f){
|
||||
var nameSpace = 'field_32489273489134023';
|
||||
if(!window[nameSpace]){
|
||||
var Builder = f();
|
||||
window[nameSpace] = {
|
||||
instance: {}
|
||||
};
|
||||
window[nameSpace].init = function (options) {
|
||||
window[nameSpace].instance[options.privateId] = new Builder(options);
|
||||
};
|
||||
}
|
||||
})(function(){
|
||||
/**
|
||||
* 构造函数
|
||||
* @param options
|
||||
* @constructor
|
||||
*/
|
||||
function App(options) {
|
||||
var self = this;
|
||||
//初始化参数
|
||||
self.initParams(options);
|
||||
//初始化dom
|
||||
self.initDom();
|
||||
//事件
|
||||
self.events();
|
||||
}
|
||||
|
||||
App.prototype = {
|
||||
initParams : function (options) {
|
||||
var self = this;
|
||||
self.adaptation = options.adaptation;
|
||||
self.adaptation.formMessage = options.formMessage;
|
||||
self.privateId = options.privateId;
|
||||
self.messageObj = options.getData;
|
||||
self.preUrl = options.url_prefix;
|
||||
},
|
||||
initDom : function () {
|
||||
var self = this;
|
||||
dynamicLoading.css(self.preUrl + 'css/formQueryBtn.css');
|
||||
self.appendChildDom();
|
||||
},
|
||||
events : function () {
|
||||
var self = this;
|
||||
// 监听是否数据刷新
|
||||
self.adaptation.ObserverEvent.listen('Event' + self.privateId, function() {
|
||||
self.messageObj = self.adaptation.childrenGetData(self.privateId);
|
||||
self.appendChildDom();
|
||||
});
|
||||
},
|
||||
appendChildDom : function () {
|
||||
var self = this;
|
||||
var domStructure = '<section class="customButton_box_content">'+
|
||||
'<div class="customButton_class_box '+ self.privateId + '" title="' + self.messageObj.display.escapeHTML() + '">'+ self.messageObj.display.escapeHTML() +'</div>'+
|
||||
'</section>';
|
||||
document.querySelector('#' + self.privateId).innerHTML = domStructure;
|
||||
var jumpFun = function() {
|
||||
var result = confirm('是否更新实名认证二维码!');
|
||||
//var url = urlSrc+"/zhxz/zyYcsq?sn=SK-20230808-001";
|
||||
var contentDataId= self.messageObj.formdata.alldata.content.contentDataId; // 原表单id
|
||||
var title= self.messageObj.formdata.alldata.content.title; // 模板名称
|
||||
var userId= self.messageObj.formdata.alldata.user.id; // 当前用户id
|
||||
var name= self.messageObj.formdata.alldata.user.name; // 当前用户名称
|
||||
var loginName= self.messageObj.formdata.alldata.user.loginName; // 当前用户账号
|
||||
var auth= self.messageObj.formdata.auth;
|
||||
if(result){
|
||||
$.ajax({
|
||||
//请求url
|
||||
contentType:"application/json",
|
||||
url: 'http://223.75.120.166:8888/seeyon/newErCodeServlet',
|
||||
//请求参数
|
||||
data: {"id":contentDataId},
|
||||
//请求类型
|
||||
type: 'POST',
|
||||
//响应体结果设置
|
||||
dataType: 'json',
|
||||
//成功的回调函数
|
||||
success: function(data){
|
||||
if("200"==data.code){
|
||||
alert(data.msg);
|
||||
}else{
|
||||
alert(data.msg);
|
||||
}
|
||||
},
|
||||
//失败的回调函数
|
||||
error: function(){
|
||||
alert("二维码更新失败!");
|
||||
}
|
||||
});
|
||||
}else{
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
document.querySelector('.' + self.privateId).removeEventListener('click', jumpFun);
|
||||
document.querySelector('.' + self.privateId).addEventListener('click', jumpFun);
|
||||
//渲染隐藏权限
|
||||
if (self.messageObj.auth === 'hide') {
|
||||
document.querySelector('#' + self.privateId).innerHTML = '<div class="cap4-text__browse" style="line-height: 1.8; color: rgb(0, 0, 0) !important;">***</div>';
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
var dynamicLoading = {
|
||||
css: function(path) {
|
||||
if(!path || path.length === 0) {
|
||||
throw new Error('argument "path" is required !');
|
||||
}
|
||||
var head = document.getElementsByTagName('head')[0];
|
||||
var link = document.createElement('link');
|
||||
link.href = path;
|
||||
link.rel = 'stylesheet';
|
||||
link.type = 'text/css';
|
||||
head.appendChild(link);
|
||||
},
|
||||
js: function(path) {
|
||||
if(!path || path.length === 0) {
|
||||
throw new Error('argument "path" is required !');
|
||||
}
|
||||
var head = document.getElementsByTagName('head')[0];
|
||||
var script = document.createElement('script');
|
||||
script.src = path;
|
||||
script.type = 'text/javascript';
|
||||
head.appendChild(script);
|
||||
}
|
||||
}
|
||||
|
||||
return App;
|
||||
});
|
||||
@@ -0,0 +1,29 @@
|
||||
(function(factory){
|
||||
var nameSpace = 'field_4793655815239859651';
|
||||
// 解决当前页面有多个相同自定义控件产生冲突的问题
|
||||
if(!window[nameSpace]){
|
||||
var Builder = factory();
|
||||
window[nameSpace] = {
|
||||
instance: {}
|
||||
};
|
||||
window[nameSpace].init = function (options) {
|
||||
// 存放当前对象的实例,privateId不同,所有不会重复
|
||||
window[nameSpace].instance[options.privateId] = new Builder(options);
|
||||
};
|
||||
}
|
||||
|
||||
})(function(){
|
||||
|
||||
/**
|
||||
* 构造函数
|
||||
* @param options
|
||||
* @constructor
|
||||
*/
|
||||
function App(options) {
|
||||
alert("初始化自定义控件");
|
||||
}
|
||||
|
||||
|
||||
|
||||
return App;
|
||||
});
|
||||
@@ -0,0 +1,99 @@
|
||||
var unflowList, param, loading, process;
|
||||
$(document).ready(function() {
|
||||
param = initParam().params;// 获取页面参数
|
||||
// 处理进度条
|
||||
process = top.$.progressBar({
|
||||
text : "加载中..."
|
||||
});
|
||||
loading = true;
|
||||
getUnflowList();
|
||||
});
|
||||
|
||||
|
||||
// 获取底表
|
||||
function getUnflowList() {
|
||||
$.ajax({
|
||||
url : "/seeyon/rest/cap4/unflow/select",
|
||||
async : true,
|
||||
success : function(data) {
|
||||
// 处理进度条
|
||||
if (loading)
|
||||
process.close();
|
||||
loading = false;
|
||||
//data = JSON.parse(data);
|
||||
var result = data.data;
|
||||
unflowList = result;
|
||||
for (var i = 0; i < result.length; i++) {
|
||||
$("#queryList ul").append(
|
||||
$("<li id='"
|
||||
+ result[i].id
|
||||
+ "'><span class='icon'></span>"
|
||||
+ result[i].name
|
||||
+ "</li>").attr("info",
|
||||
JSON.stringify(result[i])));
|
||||
}
|
||||
$("#queryList ul").delegate(
|
||||
"li",
|
||||
"click",
|
||||
function() {
|
||||
$(this).siblings().removeClass('active').end()
|
||||
.addClass('active');
|
||||
});
|
||||
if (param && param.id) { // 激活当前项
|
||||
$('#' + param.id).trigger('click');
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 搜索
|
||||
function search() {
|
||||
var searchValue = $("#search_query").val();
|
||||
$("#queryList ul").empty();
|
||||
for (var i = 0; i < unflowList.length; i++) {
|
||||
if (unflowList[i].name.indexOf(searchValue) != -1) {
|
||||
$("#queryList ul").append(
|
||||
$("<li><span class='icon'></span>"
|
||||
+ unflowList[i].name + "</li>").attr(
|
||||
"info", JSON.stringify(unflowList[i])));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 返回参数获取
|
||||
function getResult() {
|
||||
return JSON.parse($("#queryList ul").find(".active").attr("info")
|
||||
|| "{}");
|
||||
}
|
||||
|
||||
// --------------------以下为固定方法,需要实现返回参数获取--------------
|
||||
|
||||
// 获取弹窗传递过来的参数
|
||||
function initParam() {
|
||||
var obj = window.parentDialogObj && (window.parentDialogObj["ctrlDialog"]);// 获取窗口对象
|
||||
if (obj && obj.getTransParams) {
|
||||
// 然后通过V5方法获取弹窗传递过来的参数
|
||||
return obj.getTransParams();
|
||||
}
|
||||
}
|
||||
|
||||
// 确定按钮调用方法,返回需要的json数据
|
||||
function OK() {
|
||||
var result = getResult();
|
||||
|
||||
if (param && param.designId !== result.designId)
|
||||
return {
|
||||
valid : true,
|
||||
data : {
|
||||
customParam : {
|
||||
templateId : result,
|
||||
mapping : null
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
return {
|
||||
valid : true,
|
||||
data : result
|
||||
};
|
||||
}
|
||||
BIN
src/SIMSUN.TTC
Normal file
BIN
src/SIMSUN.TTC
Normal file
Binary file not shown.
12
src/com/fasc/open/api/bean/base/BaseBean.java
Normal file
12
src/com/fasc/open/api/bean/base/BaseBean.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package com.fasc.open.api.bean.base;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/8 16:09:38
|
||||
*/
|
||||
public class BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
17
src/com/fasc/open/api/bean/base/BaseHttpRes.java
Normal file
17
src/com/fasc/open/api/bean/base/BaseHttpRes.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.fasc.open.api.bean.base;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/17 10:28:55
|
||||
*/
|
||||
public class BaseHttpRes extends BaseBean{
|
||||
private Integer httpStatusCode;
|
||||
|
||||
public Integer getHttpStatusCode() {
|
||||
return httpStatusCode;
|
||||
}
|
||||
|
||||
public void setHttpStatusCode(Integer httpStatusCode) {
|
||||
this.httpStatusCode = httpStatusCode;
|
||||
}
|
||||
}
|
||||
26
src/com/fasc/open/api/bean/base/BasePageReq.java
Normal file
26
src/com/fasc/open/api/bean/base/BasePageReq.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package com.fasc.open.api.bean.base;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/11 15:19:05
|
||||
*/
|
||||
public class BasePageReq extends BaseReq {
|
||||
private Integer listPageNo;
|
||||
private Integer listPageSize;
|
||||
|
||||
public Integer getListPageNo() {
|
||||
return listPageNo;
|
||||
}
|
||||
|
||||
public void setListPageNo(Integer listPageNo) {
|
||||
this.listPageNo = listPageNo;
|
||||
}
|
||||
|
||||
public Integer getListPageSize() {
|
||||
return listPageSize;
|
||||
}
|
||||
|
||||
public void setListPageSize(Integer listPageSize) {
|
||||
this.listPageSize = listPageSize;
|
||||
}
|
||||
}
|
||||
44
src/com/fasc/open/api/bean/base/BasePageRes.java
Normal file
44
src/com/fasc/open/api/bean/base/BasePageRes.java
Normal file
@@ -0,0 +1,44 @@
|
||||
package com.fasc.open.api.bean.base;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/11 15:31:15
|
||||
*/
|
||||
public class BasePageRes {
|
||||
private Integer listPageNo;
|
||||
private Integer countInPage;
|
||||
private Integer listPageCount;
|
||||
private Integer totalCount;
|
||||
|
||||
public Integer getTotalCount() {
|
||||
return totalCount;
|
||||
}
|
||||
|
||||
public void setTotalCount(Integer totalCount) {
|
||||
this.totalCount = totalCount;
|
||||
}
|
||||
|
||||
public Integer getListPageCount() {
|
||||
return listPageCount;
|
||||
}
|
||||
|
||||
public void setListPageCount(Integer listPageCount) {
|
||||
this.listPageCount = listPageCount;
|
||||
}
|
||||
|
||||
public Integer getListPageNo() {
|
||||
return listPageNo;
|
||||
}
|
||||
|
||||
public void setListPageNo(Integer listPageNo) {
|
||||
this.listPageNo = listPageNo;
|
||||
}
|
||||
|
||||
public Integer getCountInPage() {
|
||||
return countInPage;
|
||||
}
|
||||
|
||||
public void setCountInPage(Integer countInPage) {
|
||||
this.countInPage = countInPage;
|
||||
}
|
||||
}
|
||||
17
src/com/fasc/open/api/bean/base/BaseReq.java
Normal file
17
src/com/fasc/open/api/bean/base/BaseReq.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.fasc.open.api.bean.base;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/8 16:09:38
|
||||
*/
|
||||
public class BaseReq extends BaseBean {
|
||||
private String accessToken;
|
||||
|
||||
public String getAccessToken() {
|
||||
return accessToken;
|
||||
}
|
||||
|
||||
public void setAccessToken(String accessToken) {
|
||||
this.accessToken = accessToken;
|
||||
}
|
||||
}
|
||||
55
src/com/fasc/open/api/bean/base/BaseRes.java
Normal file
55
src/com/fasc/open/api/bean/base/BaseRes.java
Normal file
@@ -0,0 +1,55 @@
|
||||
package com.fasc.open.api.bean.base;
|
||||
|
||||
import com.fasc.open.api.constants.RequestConstants;
|
||||
import org.apache.http.HttpStatus;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/8 16:09:38
|
||||
*/
|
||||
public class BaseRes<T> extends BaseHttpRes {
|
||||
|
||||
private String code;
|
||||
|
||||
private String msg;
|
||||
|
||||
private T data;
|
||||
|
||||
public BaseRes() {
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return getHttpStatusCode() != null
|
||||
&& getHttpStatusCode().equals(HttpStatus.SC_OK)
|
||||
&& RequestConstants.SUCCESS_CODE.equals(code);
|
||||
}
|
||||
|
||||
public BaseRes(String code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public T getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(T data) {
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
35
src/com/fasc/open/api/bean/base/BaseResponseEntity.java
Normal file
35
src/com/fasc/open/api/bean/base/BaseResponseEntity.java
Normal file
@@ -0,0 +1,35 @@
|
||||
package com.fasc.open.api.bean.base;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/9 21:34:22
|
||||
*/
|
||||
public class BaseResponseEntity extends BaseHttpRes {
|
||||
private byte[] content;
|
||||
private String contentType;
|
||||
private String data;
|
||||
|
||||
public byte[] getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(byte[] content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public String getContentType() {
|
||||
return contentType;
|
||||
}
|
||||
|
||||
public void setContentType(String contentType) {
|
||||
this.contentType = contentType;
|
||||
}
|
||||
|
||||
public String getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(String data) {
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
21
src/com/fasc/open/api/bean/base/HttpInfoRes.java
Normal file
21
src/com/fasc/open/api/bean/base/HttpInfoRes.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package com.fasc.open.api.bean.base;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/17 10:55:15
|
||||
*/
|
||||
public class HttpInfoRes extends BaseHttpRes {
|
||||
private String body;
|
||||
|
||||
public String getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
public void setBody(String body) {
|
||||
this.body = body;
|
||||
}
|
||||
|
||||
public static HttpInfoRes getInstance() {
|
||||
return new HttpInfoRes();
|
||||
}
|
||||
}
|
||||
120
src/com/fasc/open/api/bean/common/Actor.java
Normal file
120
src/com/fasc/open/api/bean/common/Actor.java
Normal file
@@ -0,0 +1,120 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/10/16 16:34:09
|
||||
*/
|
||||
public class Actor extends BaseBean {
|
||||
private String actorId;
|
||||
private String actorType;
|
||||
private String actorName;
|
||||
private List<String> permissions;
|
||||
private String actorOpenId;
|
||||
private String actorFDDId;
|
||||
private List<ActorCorpMember> actorCorpMembers;
|
||||
private String identNameForMatch;
|
||||
private String certType;
|
||||
private String certNoForMatch;
|
||||
private String accountName;
|
||||
private Notification notification;
|
||||
|
||||
public String getActorType() {
|
||||
return actorType;
|
||||
}
|
||||
|
||||
public void setActorType(String actorType) {
|
||||
this.actorType = actorType;
|
||||
}
|
||||
|
||||
public String getActorId() {
|
||||
return actorId;
|
||||
}
|
||||
|
||||
public void setActorId(String actorId) {
|
||||
this.actorId = actorId;
|
||||
}
|
||||
|
||||
public String getActorName() {
|
||||
return actorName;
|
||||
}
|
||||
|
||||
public void setActorName(String actorName) {
|
||||
this.actorName = actorName;
|
||||
}
|
||||
|
||||
public List<String> getPermissions() {
|
||||
return permissions;
|
||||
}
|
||||
|
||||
public void setPermissions(List<String> permissions) {
|
||||
this.permissions = permissions;
|
||||
}
|
||||
|
||||
public String getActorOpenId() {
|
||||
return actorOpenId;
|
||||
}
|
||||
|
||||
public void setActorOpenId(String actorOpenId) {
|
||||
this.actorOpenId = actorOpenId;
|
||||
}
|
||||
|
||||
public String getActorFDDId() {
|
||||
return actorFDDId;
|
||||
}
|
||||
|
||||
public void setActorFDDId(String actorFDDId) {
|
||||
this.actorFDDId = actorFDDId;
|
||||
}
|
||||
|
||||
public List<ActorCorpMember> getActorCorpMembers() {
|
||||
return actorCorpMembers;
|
||||
}
|
||||
|
||||
public void setActorCorpMembers(List<ActorCorpMember> actorCorpMembers) {
|
||||
this.actorCorpMembers = actorCorpMembers;
|
||||
}
|
||||
|
||||
public String getIdentNameForMatch() {
|
||||
return identNameForMatch;
|
||||
}
|
||||
|
||||
public void setIdentNameForMatch(String identNameForMatch) {
|
||||
this.identNameForMatch = identNameForMatch;
|
||||
}
|
||||
|
||||
public String getCertNoForMatch() {
|
||||
return certNoForMatch;
|
||||
}
|
||||
|
||||
public void setCertNoForMatch(String certNoForMatch) {
|
||||
this.certNoForMatch = certNoForMatch;
|
||||
}
|
||||
|
||||
public Notification getNotification() {
|
||||
return notification;
|
||||
}
|
||||
|
||||
public void setNotification(Notification notification) {
|
||||
this.notification = notification;
|
||||
}
|
||||
|
||||
public String getCertType() {
|
||||
return certType;
|
||||
}
|
||||
|
||||
public void setCertType(String certType) {
|
||||
this.certType = certType;
|
||||
}
|
||||
|
||||
public String getAccountName() {
|
||||
return accountName;
|
||||
}
|
||||
|
||||
public void setAccountName(String accountName) {
|
||||
this.accountName = accountName;
|
||||
}
|
||||
}
|
||||
64
src/com/fasc/open/api/bean/common/ActorCorp.java
Normal file
64
src/com/fasc/open/api/bean/common/ActorCorp.java
Normal file
@@ -0,0 +1,64 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/11 14:31:32
|
||||
*/
|
||||
public class ActorCorp extends BaseBean {
|
||||
private String actorCorpId;
|
||||
private CorpIdentInfo corpIdentInfo;
|
||||
private CorpInfoExtend corpInfoExtend;
|
||||
private String operatorId;
|
||||
private UserIdentInfo operatorIdentInfo;
|
||||
private UserInfoExtend operatorInfoExtend;
|
||||
|
||||
public String getActorCorpId() {
|
||||
return actorCorpId;
|
||||
}
|
||||
|
||||
public void setActorCorpId(String actorCorpId) {
|
||||
this.actorCorpId = actorCorpId;
|
||||
}
|
||||
|
||||
public CorpIdentInfo getCorpIdentInfo() {
|
||||
return corpIdentInfo;
|
||||
}
|
||||
|
||||
public void setCorpIdentInfo(CorpIdentInfo corpIdentInfo) {
|
||||
this.corpIdentInfo = corpIdentInfo;
|
||||
}
|
||||
|
||||
public CorpInfoExtend getCorpInfoExtend() {
|
||||
return corpInfoExtend;
|
||||
}
|
||||
|
||||
public void setCorpInfoExtend(CorpInfoExtend corpInfoExtend) {
|
||||
this.corpInfoExtend = corpInfoExtend;
|
||||
}
|
||||
|
||||
public String getOperatorId() {
|
||||
return operatorId;
|
||||
}
|
||||
|
||||
public void setOperatorId(String operatorId) {
|
||||
this.operatorId = operatorId;
|
||||
}
|
||||
|
||||
public UserIdentInfo getOperatorIdentInfo() {
|
||||
return operatorIdentInfo;
|
||||
}
|
||||
|
||||
public void setOperatorIdentInfo(UserIdentInfo operatorIdentInfo) {
|
||||
this.operatorIdentInfo = operatorIdentInfo;
|
||||
}
|
||||
|
||||
public UserInfoExtend getOperatorInfoExtend() {
|
||||
return operatorInfoExtend;
|
||||
}
|
||||
|
||||
public void setOperatorInfoExtend(UserInfoExtend operatorInfoExtend) {
|
||||
this.operatorInfoExtend = operatorInfoExtend;
|
||||
}
|
||||
}
|
||||
17
src/com/fasc/open/api/bean/common/ActorCorpMember.java
Normal file
17
src/com/fasc/open/api/bean/common/ActorCorpMember.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
/**
|
||||
* @author gongj
|
||||
* @date 2022/7/12
|
||||
*/
|
||||
public class ActorCorpMember {
|
||||
private String memberId;
|
||||
|
||||
public String getMemberId() {
|
||||
return memberId;
|
||||
}
|
||||
|
||||
public void setMemberId(String memberId) {
|
||||
this.memberId = memberId;
|
||||
}
|
||||
}
|
||||
37
src/com/fasc/open/api/bean/common/ActorUser.java
Normal file
37
src/com/fasc/open/api/bean/common/ActorUser.java
Normal file
@@ -0,0 +1,37 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/11 14:31:32
|
||||
*/
|
||||
public class ActorUser extends BaseBean {
|
||||
private String actorUserId;
|
||||
private UserIdentInfo userIdentInfo;
|
||||
private UserInfoExtend userInfoExtend;
|
||||
|
||||
public String getActorUserId() {
|
||||
return actorUserId;
|
||||
}
|
||||
|
||||
public void setActorUserId(String actorUserId) {
|
||||
this.actorUserId = actorUserId;
|
||||
}
|
||||
|
||||
public UserIdentInfo getUserIdentInfo() {
|
||||
return userIdentInfo;
|
||||
}
|
||||
|
||||
public void setUserIdentInfo(UserIdentInfo userIdentInfo) {
|
||||
this.userIdentInfo = userIdentInfo;
|
||||
}
|
||||
|
||||
public UserInfoExtend getUserInfoExtend() {
|
||||
return userInfoExtend;
|
||||
}
|
||||
|
||||
public void setUserInfoExtend(UserInfoExtend userInfoExtend) {
|
||||
this.userInfoExtend = userInfoExtend;
|
||||
}
|
||||
}
|
||||
46
src/com/fasc/open/api/bean/common/CorpIdentInfo.java
Normal file
46
src/com/fasc/open/api/bean/common/CorpIdentInfo.java
Normal file
@@ -0,0 +1,46 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/11 14:32:05
|
||||
*/
|
||||
public class CorpIdentInfo extends BaseBean {
|
||||
private String corpName;
|
||||
private String corpIdentType;
|
||||
private String corpIdentNo;
|
||||
private String legalRepName;
|
||||
|
||||
public String getCorpName() {
|
||||
return corpName;
|
||||
}
|
||||
|
||||
public void setCorpName(String corpName) {
|
||||
this.corpName = corpName;
|
||||
}
|
||||
|
||||
public String getCorpIdentType() {
|
||||
return corpIdentType;
|
||||
}
|
||||
|
||||
public void setCorpIdentType(String corpIdentType) {
|
||||
this.corpIdentType = corpIdentType;
|
||||
}
|
||||
|
||||
public String getCorpIdentNo() {
|
||||
return corpIdentNo;
|
||||
}
|
||||
|
||||
public void setCorpIdentNo(String corpIdentNo) {
|
||||
this.corpIdentNo = corpIdentNo;
|
||||
}
|
||||
|
||||
public String getLegalRepName() {
|
||||
return legalRepName;
|
||||
}
|
||||
|
||||
public void setLegalRepName(String legalRepName) {
|
||||
this.legalRepName = legalRepName;
|
||||
}
|
||||
}
|
||||
55
src/com/fasc/open/api/bean/common/CorpInfoExtend.java
Normal file
55
src/com/fasc/open/api/bean/common/CorpInfoExtend.java
Normal file
@@ -0,0 +1,55 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/15 13:51:55
|
||||
*/
|
||||
public class CorpInfoExtend extends BaseBean {
|
||||
private String bankName;
|
||||
private String bankBranchName;
|
||||
private String bankAccountNo;
|
||||
private String bankProvinceName;
|
||||
private String bankCityName;
|
||||
|
||||
public String getBankName() {
|
||||
return bankName;
|
||||
}
|
||||
|
||||
public void setBankName(String bankName) {
|
||||
this.bankName = bankName;
|
||||
}
|
||||
|
||||
public String getBankBranchName() {
|
||||
return bankBranchName;
|
||||
}
|
||||
|
||||
public void setBankBranchName(String bankBranchName) {
|
||||
this.bankBranchName = bankBranchName;
|
||||
}
|
||||
|
||||
public String getBankAccountNo() {
|
||||
return bankAccountNo;
|
||||
}
|
||||
|
||||
public void setBankAccountNo(String bankAccountNo) {
|
||||
this.bankAccountNo = bankAccountNo;
|
||||
}
|
||||
|
||||
public String getBankProvinceName() {
|
||||
return bankProvinceName;
|
||||
}
|
||||
|
||||
public void setBankProvinceName(String bankProvinceName) {
|
||||
this.bankProvinceName = bankProvinceName;
|
||||
}
|
||||
|
||||
public String getBankCityName() {
|
||||
return bankCityName;
|
||||
}
|
||||
|
||||
public void setBankCityName(String bankCityName) {
|
||||
this.bankCityName = bankCityName;
|
||||
}
|
||||
}
|
||||
182
src/com/fasc/open/api/bean/common/Field.java
Normal file
182
src/com/fasc/open/api/bean/common/Field.java
Normal file
@@ -0,0 +1,182 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/10/16 16:36:13
|
||||
*/
|
||||
public class Field extends BaseBean {
|
||||
private String fieldId;
|
||||
private String fieldName;
|
||||
private String fieldKey;
|
||||
private FieldPosition position;
|
||||
private String fieldType;
|
||||
private FieldTextSingleLine fieldTextSingleLine;
|
||||
private FieldTextMultiLine fieldTextMultiLine;
|
||||
private FieldCheckBox fieldCheckBox;
|
||||
private FieldRemarkSign fieldRemarkSign;
|
||||
private Boolean moveable;
|
||||
private FieldNumber fieldNumber;
|
||||
private FieldIdCard fieldIdCard;
|
||||
private FieldFillDate fieldFillDate;
|
||||
private FieldMultiRadio fieldMultiRadio;
|
||||
private FieldPicture fieldPicture;
|
||||
private FieldSelectBox fieldSelectBox;
|
||||
private FieldTable fieldTable;
|
||||
private FieldPersonSign fieldPersonSign;
|
||||
private FieldCorpSeal fieldCorpSeal;
|
||||
|
||||
|
||||
public String getFieldKey() {
|
||||
return fieldKey;
|
||||
}
|
||||
|
||||
public void setFieldKey(String fieldKey) {
|
||||
this.fieldKey = fieldKey;
|
||||
}
|
||||
|
||||
public String getFieldId() {
|
||||
return fieldId;
|
||||
}
|
||||
|
||||
public void setFieldId(String fieldId) {
|
||||
this.fieldId = fieldId;
|
||||
}
|
||||
|
||||
public String getFieldName() {
|
||||
return fieldName;
|
||||
}
|
||||
|
||||
public void setFieldName(String fieldName) {
|
||||
this.fieldName = fieldName;
|
||||
}
|
||||
|
||||
public FieldPosition getPosition() {
|
||||
return position;
|
||||
}
|
||||
|
||||
public void setPosition(FieldPosition position) {
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public String getFieldType() {
|
||||
return fieldType;
|
||||
}
|
||||
|
||||
public void setFieldType(String fieldType) {
|
||||
this.fieldType = fieldType;
|
||||
}
|
||||
|
||||
public FieldTextSingleLine getFieldTextSingleLine() {
|
||||
return fieldTextSingleLine;
|
||||
}
|
||||
|
||||
public void setFieldTextSingleLine(FieldTextSingleLine fieldTextSingleLine) {
|
||||
this.fieldTextSingleLine = fieldTextSingleLine;
|
||||
}
|
||||
|
||||
public FieldTextMultiLine getFieldTextMultiLine() {
|
||||
return fieldTextMultiLine;
|
||||
}
|
||||
|
||||
public void setFieldTextMultiLine(FieldTextMultiLine fieldTextMultiLine) {
|
||||
this.fieldTextMultiLine = fieldTextMultiLine;
|
||||
}
|
||||
|
||||
public FieldCheckBox getFieldCheckBox() {
|
||||
return fieldCheckBox;
|
||||
}
|
||||
|
||||
public void setFieldCheckBox(FieldCheckBox fieldCheckBox) {
|
||||
this.fieldCheckBox = fieldCheckBox;
|
||||
}
|
||||
|
||||
public FieldRemarkSign getFieldRemarkSign() {
|
||||
return fieldRemarkSign;
|
||||
}
|
||||
|
||||
public void setFieldRemarkSign(FieldRemarkSign fieldRemarkSign) {
|
||||
this.fieldRemarkSign = fieldRemarkSign;
|
||||
}
|
||||
|
||||
public Boolean getMoveable() {
|
||||
return moveable;
|
||||
}
|
||||
|
||||
public void setMoveable(Boolean moveable) {
|
||||
this.moveable = moveable;
|
||||
}
|
||||
|
||||
public FieldNumber getFieldNumber() {
|
||||
return fieldNumber;
|
||||
}
|
||||
|
||||
public void setFieldNumber(FieldNumber fieldNumber) {
|
||||
this.fieldNumber = fieldNumber;
|
||||
}
|
||||
|
||||
public FieldIdCard getFieldIdCard() {
|
||||
return fieldIdCard;
|
||||
}
|
||||
|
||||
public void setFieldIdCard(FieldIdCard fieldIdCard) {
|
||||
this.fieldIdCard = fieldIdCard;
|
||||
}
|
||||
|
||||
public FieldFillDate getFieldFillDate() {
|
||||
return fieldFillDate;
|
||||
}
|
||||
|
||||
public void setFieldFillDate(FieldFillDate fieldFillDate) {
|
||||
this.fieldFillDate = fieldFillDate;
|
||||
}
|
||||
|
||||
public FieldMultiRadio getFieldMultiRadio() {
|
||||
return fieldMultiRadio;
|
||||
}
|
||||
|
||||
public void setFieldMultiRadio(FieldMultiRadio fieldMultiRadio) {
|
||||
this.fieldMultiRadio = fieldMultiRadio;
|
||||
}
|
||||
|
||||
public FieldPicture getFieldPicture() {
|
||||
return fieldPicture;
|
||||
}
|
||||
|
||||
public void setFieldPicture(FieldPicture fieldPicture) {
|
||||
this.fieldPicture = fieldPicture;
|
||||
}
|
||||
|
||||
public FieldSelectBox getFieldSelectBox() {
|
||||
return fieldSelectBox;
|
||||
}
|
||||
|
||||
public void setFieldSelectBox(FieldSelectBox fieldSelectBox) {
|
||||
this.fieldSelectBox = fieldSelectBox;
|
||||
}
|
||||
|
||||
public FieldTable getFieldTable() {
|
||||
return fieldTable;
|
||||
}
|
||||
|
||||
public void setFieldTable(FieldTable fieldTable) {
|
||||
this.fieldTable = fieldTable;
|
||||
}
|
||||
|
||||
public FieldPersonSign getFieldPersonSign() {
|
||||
return fieldPersonSign;
|
||||
}
|
||||
|
||||
public void setFieldPersonSign(FieldPersonSign fieldPersonSign) {
|
||||
this.fieldPersonSign = fieldPersonSign;
|
||||
}
|
||||
|
||||
public FieldCorpSeal getFieldCorpSeal() {
|
||||
return fieldCorpSeal;
|
||||
}
|
||||
|
||||
public void setFieldCorpSeal(FieldCorpSeal fieldCorpSeal) {
|
||||
this.fieldCorpSeal = fieldCorpSeal;
|
||||
}
|
||||
}
|
||||
28
src/com/fasc/open/api/bean/common/FieldCheckBox.java
Normal file
28
src/com/fasc/open/api/bean/common/FieldCheckBox.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/6 9:46:32
|
||||
*/
|
||||
public class FieldCheckBox extends BaseBean {
|
||||
private Boolean required;
|
||||
private Boolean defaultValue;
|
||||
|
||||
public Boolean getRequired() {
|
||||
return required;
|
||||
}
|
||||
|
||||
public void setRequired(Boolean required) {
|
||||
this.required = required;
|
||||
}
|
||||
|
||||
public Boolean getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(Boolean defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
}
|
||||
23
src/com/fasc/open/api/bean/common/FieldCorpSeal.java
Normal file
23
src/com/fasc/open/api/bean/common/FieldCorpSeal.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
public class FieldCorpSeal {
|
||||
|
||||
private Integer width;
|
||||
private Integer height;
|
||||
|
||||
public Integer getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
public void setWidth(Integer width) {
|
||||
this.width = width;
|
||||
}
|
||||
|
||||
public Integer getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
public void setHeight(Integer height) {
|
||||
this.height = height;
|
||||
}
|
||||
}
|
||||
86
src/com/fasc/open/api/bean/common/FieldFillDate.java
Normal file
86
src/com/fasc/open/api/bean/common/FieldFillDate.java
Normal file
@@ -0,0 +1,86 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
public class FieldFillDate {
|
||||
|
||||
private Boolean required;
|
||||
private String defaultValue;
|
||||
private String dateFormat;
|
||||
private String tips;
|
||||
private Integer width;
|
||||
private Integer height;
|
||||
private String fontType;
|
||||
private Integer fontSize;
|
||||
private String alignment;
|
||||
|
||||
public Boolean getRequired() {
|
||||
return required;
|
||||
}
|
||||
|
||||
public void setRequired(Boolean required) {
|
||||
this.required = required;
|
||||
}
|
||||
|
||||
public String getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(String defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
public String getDateFormat() {
|
||||
return dateFormat;
|
||||
}
|
||||
|
||||
public void setDateFormat(String dateFormat) {
|
||||
this.dateFormat = dateFormat;
|
||||
}
|
||||
|
||||
public String getTips() {
|
||||
return tips;
|
||||
}
|
||||
|
||||
public void setTips(String tips) {
|
||||
this.tips = tips;
|
||||
}
|
||||
|
||||
public Integer getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
public void setWidth(Integer width) {
|
||||
this.width = width;
|
||||
}
|
||||
|
||||
public Integer getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
public void setHeight(Integer height) {
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public String getFontType() {
|
||||
return fontType;
|
||||
}
|
||||
|
||||
public void setFontType(String fontType) {
|
||||
this.fontType = fontType;
|
||||
}
|
||||
|
||||
public Integer getFontSize() {
|
||||
return fontSize;
|
||||
}
|
||||
|
||||
public void setFontSize(Integer fontSize) {
|
||||
this.fontSize = fontSize;
|
||||
}
|
||||
|
||||
public String getAlignment() {
|
||||
return alignment;
|
||||
}
|
||||
|
||||
public void setAlignment(String alignment) {
|
||||
this.alignment = alignment;
|
||||
}
|
||||
}
|
||||
77
src/com/fasc/open/api/bean/common/FieldIdCard.java
Normal file
77
src/com/fasc/open/api/bean/common/FieldIdCard.java
Normal file
@@ -0,0 +1,77 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
public class FieldIdCard {
|
||||
|
||||
private Boolean required;
|
||||
private String defaultValue;
|
||||
private String tips;
|
||||
private Integer width;
|
||||
private Integer height;
|
||||
private String fontType;
|
||||
private Integer fontSize;
|
||||
private String alignment;
|
||||
|
||||
public Boolean getRequired() {
|
||||
return required;
|
||||
}
|
||||
|
||||
public void setRequired(Boolean required) {
|
||||
this.required = required;
|
||||
}
|
||||
|
||||
public String getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(String defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
public String getTips() {
|
||||
return tips;
|
||||
}
|
||||
|
||||
public void setTips(String tips) {
|
||||
this.tips = tips;
|
||||
}
|
||||
|
||||
public Integer getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
public void setWidth(Integer width) {
|
||||
this.width = width;
|
||||
}
|
||||
|
||||
public Integer getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
public void setHeight(Integer height) {
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public String getFontType() {
|
||||
return fontType;
|
||||
}
|
||||
|
||||
public void setFontType(String fontType) {
|
||||
this.fontType = fontType;
|
||||
}
|
||||
|
||||
public Integer getFontSize() {
|
||||
return fontSize;
|
||||
}
|
||||
|
||||
public void setFontSize(Integer fontSize) {
|
||||
this.fontSize = fontSize;
|
||||
}
|
||||
|
||||
public String getAlignment() {
|
||||
return alignment;
|
||||
}
|
||||
|
||||
public void setAlignment(String alignment) {
|
||||
this.alignment = alignment;
|
||||
}
|
||||
}
|
||||
34
src/com/fasc/open/api/bean/common/FieldMultiCheckbox.java
Normal file
34
src/com/fasc/open/api/bean/common/FieldMultiCheckbox.java
Normal file
@@ -0,0 +1,34 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class FieldMultiCheckbox {
|
||||
|
||||
private Boolean required;
|
||||
private List<String> option;
|
||||
private List<Boolean> defaultValue;
|
||||
|
||||
public Boolean getRequired() {
|
||||
return required;
|
||||
}
|
||||
|
||||
public void setRequired(Boolean required) {
|
||||
this.required = required;
|
||||
}
|
||||
|
||||
public List<String> getOption() {
|
||||
return option;
|
||||
}
|
||||
|
||||
public void setOption(List<String> option) {
|
||||
this.option = option;
|
||||
}
|
||||
|
||||
public List<Boolean> getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(List<Boolean> defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
}
|
||||
34
src/com/fasc/open/api/bean/common/FieldMultiRadio.java
Normal file
34
src/com/fasc/open/api/bean/common/FieldMultiRadio.java
Normal file
@@ -0,0 +1,34 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class FieldMultiRadio {
|
||||
|
||||
private Boolean required;
|
||||
private List<String> option;
|
||||
private List<Boolean> defaultValue;
|
||||
|
||||
public Boolean getRequired() {
|
||||
return required;
|
||||
}
|
||||
|
||||
public void setRequired(Boolean required) {
|
||||
this.required = required;
|
||||
}
|
||||
|
||||
public List<String> getOption() {
|
||||
return option;
|
||||
}
|
||||
|
||||
public void setOption(List<String> option) {
|
||||
this.option = option;
|
||||
}
|
||||
|
||||
public List<Boolean> getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(List<Boolean> defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
}
|
||||
76
src/com/fasc/open/api/bean/common/FieldNumber.java
Normal file
76
src/com/fasc/open/api/bean/common/FieldNumber.java
Normal file
@@ -0,0 +1,76 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
public class FieldNumber {
|
||||
private Boolean required;
|
||||
private String defaultValue;
|
||||
private String tips;
|
||||
private Integer width;
|
||||
private Integer height;
|
||||
private String fontType;
|
||||
private Integer fontSize;
|
||||
private String alignment;
|
||||
|
||||
public Boolean getRequired() {
|
||||
return required;
|
||||
}
|
||||
|
||||
public void setRequired(Boolean required) {
|
||||
this.required = required;
|
||||
}
|
||||
|
||||
public String getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(String defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
public String getTips() {
|
||||
return tips;
|
||||
}
|
||||
|
||||
public void setTips(String tips) {
|
||||
this.tips = tips;
|
||||
}
|
||||
|
||||
public Integer getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
public void setWidth(Integer width) {
|
||||
this.width = width;
|
||||
}
|
||||
|
||||
public Integer getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
public void setHeight(Integer height) {
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public String getFontType() {
|
||||
return fontType;
|
||||
}
|
||||
|
||||
public void setFontType(String fontType) {
|
||||
this.fontType = fontType;
|
||||
}
|
||||
|
||||
public Integer getFontSize() {
|
||||
return fontSize;
|
||||
}
|
||||
|
||||
public void setFontSize(Integer fontSize) {
|
||||
this.fontSize = fontSize;
|
||||
}
|
||||
|
||||
public String getAlignment() {
|
||||
return alignment;
|
||||
}
|
||||
|
||||
public void setAlignment(String alignment) {
|
||||
this.alignment = alignment;
|
||||
}
|
||||
}
|
||||
23
src/com/fasc/open/api/bean/common/FieldPersonSign.java
Normal file
23
src/com/fasc/open/api/bean/common/FieldPersonSign.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
public class FieldPersonSign {
|
||||
|
||||
private Integer width;
|
||||
private Integer height;
|
||||
|
||||
public Integer getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
public void setWidth(Integer width) {
|
||||
this.width = width;
|
||||
}
|
||||
|
||||
public Integer getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
public void setHeight(Integer height) {
|
||||
this.height = height;
|
||||
}
|
||||
}
|
||||
41
src/com/fasc/open/api/bean/common/FieldPicture.java
Normal file
41
src/com/fasc/open/api/bean/common/FieldPicture.java
Normal file
@@ -0,0 +1,41 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
public class FieldPicture {
|
||||
|
||||
private Boolean required;
|
||||
private String defaultValue;
|
||||
private Integer width;
|
||||
private Integer height;
|
||||
|
||||
public Integer getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
public void setWidth(Integer width) {
|
||||
this.width = width;
|
||||
}
|
||||
|
||||
public Integer getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
public void setHeight(Integer height) {
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public Boolean getRequired() {
|
||||
return required;
|
||||
}
|
||||
|
||||
public void setRequired(Boolean required) {
|
||||
this.required = required;
|
||||
}
|
||||
|
||||
public String getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(String defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
}
|
||||
74
src/com/fasc/open/api/bean/common/FieldPosition.java
Normal file
74
src/com/fasc/open/api/bean/common/FieldPosition.java
Normal file
@@ -0,0 +1,74 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/6 9:49:10
|
||||
*/
|
||||
public class FieldPosition extends BaseBean {
|
||||
private String positionMode;
|
||||
private Integer positionPageNo;
|
||||
private String positionX;
|
||||
private String positionY;
|
||||
private String positionKeyword;
|
||||
private String keywordOffsetX;
|
||||
private String keywordOffsetY;
|
||||
|
||||
public String getKeywordOffsetX() {
|
||||
return keywordOffsetX;
|
||||
}
|
||||
|
||||
public void setKeywordOffsetX(String keywordOffsetX) {
|
||||
this.keywordOffsetX = keywordOffsetX;
|
||||
}
|
||||
|
||||
public String getKeywordOffsetY() {
|
||||
return keywordOffsetY;
|
||||
}
|
||||
|
||||
public void setKeywordOffsetY(String keywordOffsetY) {
|
||||
this.keywordOffsetY = keywordOffsetY;
|
||||
}
|
||||
|
||||
public String getPositionMode() {
|
||||
return positionMode;
|
||||
}
|
||||
|
||||
public void setPositionMode(String positionMode) {
|
||||
this.positionMode = positionMode;
|
||||
}
|
||||
|
||||
public Integer getPositionPageNo() {
|
||||
return positionPageNo;
|
||||
}
|
||||
|
||||
public void setPositionPageNo(Integer positionPageNo) {
|
||||
this.positionPageNo = positionPageNo;
|
||||
}
|
||||
|
||||
public String getPositionX() {
|
||||
return positionX;
|
||||
}
|
||||
|
||||
public void setPositionX(String positionX) {
|
||||
this.positionX = positionX;
|
||||
}
|
||||
|
||||
public String getPositionY() {
|
||||
return positionY;
|
||||
}
|
||||
|
||||
public void setPositionY(String positionY) {
|
||||
this.positionY = positionY;
|
||||
}
|
||||
|
||||
public String getPositionKeyword() {
|
||||
return positionKeyword;
|
||||
}
|
||||
|
||||
public void setPositionKeyword(String positionKeyword) {
|
||||
this.positionKeyword = positionKeyword;
|
||||
}
|
||||
}
|
||||
|
||||
67
src/com/fasc/open/api/bean/common/FieldRemarkSign.java
Normal file
67
src/com/fasc/open/api/bean/common/FieldRemarkSign.java
Normal file
@@ -0,0 +1,67 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
public class FieldRemarkSign {
|
||||
private String defaultValue;
|
||||
private String tips;
|
||||
private Boolean editable;
|
||||
private Integer width;
|
||||
private Integer height;
|
||||
private String fontType;
|
||||
private Integer fontSize;
|
||||
|
||||
public String getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(String defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
public String getTips() {
|
||||
return tips;
|
||||
}
|
||||
|
||||
public void setTips(String tips) {
|
||||
this.tips = tips;
|
||||
}
|
||||
|
||||
public Boolean getEditable() {
|
||||
return editable;
|
||||
}
|
||||
|
||||
public void setEditable(Boolean editable) {
|
||||
this.editable = editable;
|
||||
}
|
||||
|
||||
public Integer getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
public void setWidth(Integer width) {
|
||||
this.width = width;
|
||||
}
|
||||
|
||||
public Integer getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
public void setHeight(Integer height) {
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public String getFontType() {
|
||||
return fontType;
|
||||
}
|
||||
|
||||
public void setFontType(String fontType) {
|
||||
this.fontType = fontType;
|
||||
}
|
||||
|
||||
public Integer getFontSize() {
|
||||
return fontSize;
|
||||
}
|
||||
|
||||
public void setFontSize(Integer fontSize) {
|
||||
this.fontSize = fontSize;
|
||||
}
|
||||
}
|
||||
88
src/com/fasc/open/api/bean/common/FieldSelectBox.java
Normal file
88
src/com/fasc/open/api/bean/common/FieldSelectBox.java
Normal file
@@ -0,0 +1,88 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class FieldSelectBox {
|
||||
|
||||
private Boolean required;
|
||||
private List<String> option;
|
||||
private String defaultValue;
|
||||
private String tips;
|
||||
private Integer width;
|
||||
private Integer height;
|
||||
private String fontType;
|
||||
private Integer fontSize;
|
||||
private String alignment;
|
||||
|
||||
public Boolean getRequired() {
|
||||
return required;
|
||||
}
|
||||
|
||||
public void setRequired(Boolean required) {
|
||||
this.required = required;
|
||||
}
|
||||
|
||||
public List<String> getOption() {
|
||||
return option;
|
||||
}
|
||||
|
||||
public void setOption(List<String> option) {
|
||||
this.option = option;
|
||||
}
|
||||
|
||||
public String getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(String defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
public String getTips() {
|
||||
return tips;
|
||||
}
|
||||
|
||||
public void setTips(String tips) {
|
||||
this.tips = tips;
|
||||
}
|
||||
|
||||
public Integer getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
public void setWidth(Integer width) {
|
||||
this.width = width;
|
||||
}
|
||||
|
||||
public Integer getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
public void setHeight(Integer height) {
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public String getFontType() {
|
||||
return fontType;
|
||||
}
|
||||
|
||||
public void setFontType(String fontType) {
|
||||
this.fontType = fontType;
|
||||
}
|
||||
|
||||
public Integer getFontSize() {
|
||||
return fontSize;
|
||||
}
|
||||
|
||||
public void setFontSize(Integer fontSize) {
|
||||
this.fontSize = fontSize;
|
||||
}
|
||||
|
||||
public String getAlignment() {
|
||||
return alignment;
|
||||
}
|
||||
|
||||
public void setAlignment(String alignment) {
|
||||
this.alignment = alignment;
|
||||
}
|
||||
}
|
||||
145
src/com/fasc/open/api/bean/common/FieldTable.java
Normal file
145
src/com/fasc/open/api/bean/common/FieldTable.java
Normal file
@@ -0,0 +1,145 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class FieldTable {
|
||||
private Boolean required;
|
||||
|
||||
private List<String> header;
|
||||
|
||||
private Integer requiredCount;
|
||||
|
||||
private String fontType;
|
||||
|
||||
private Integer fontSize;
|
||||
|
||||
private String alignment;
|
||||
|
||||
private String headerPosition;
|
||||
|
||||
private Integer rows;
|
||||
|
||||
private Integer cols;
|
||||
|
||||
private Integer rowHeight;
|
||||
|
||||
private List<Integer> widths;
|
||||
|
||||
private Boolean dynamicFilling;
|
||||
|
||||
private List<List<String>> defaultValue;
|
||||
|
||||
private Boolean hideHeader;
|
||||
|
||||
public Boolean getRequired() {
|
||||
return required;
|
||||
}
|
||||
|
||||
public void setRequired(Boolean required) {
|
||||
this.required = required;
|
||||
}
|
||||
|
||||
public List<String> getHeader() {
|
||||
return header;
|
||||
}
|
||||
|
||||
public void setHeader(List<String> header) {
|
||||
this.header = header;
|
||||
}
|
||||
|
||||
public Integer getRequiredCount() {
|
||||
return requiredCount;
|
||||
}
|
||||
|
||||
public void setRequiredCount(Integer requiredCount) {
|
||||
this.requiredCount = requiredCount;
|
||||
}
|
||||
|
||||
public String getFontType() {
|
||||
return fontType;
|
||||
}
|
||||
|
||||
public void setFontType(String fontType) {
|
||||
this.fontType = fontType;
|
||||
}
|
||||
|
||||
public Integer getFontSize() {
|
||||
return fontSize;
|
||||
}
|
||||
|
||||
public void setFontSize(Integer fontSize) {
|
||||
this.fontSize = fontSize;
|
||||
}
|
||||
|
||||
public String getAlignment() {
|
||||
return alignment;
|
||||
}
|
||||
|
||||
public void setAlignment(String alignment) {
|
||||
this.alignment = alignment;
|
||||
}
|
||||
|
||||
public String getHeaderPosition() {
|
||||
return headerPosition;
|
||||
}
|
||||
|
||||
public void setHeaderPosition(String headerPosition) {
|
||||
this.headerPosition = headerPosition;
|
||||
}
|
||||
|
||||
public Integer getRows() {
|
||||
return rows;
|
||||
}
|
||||
|
||||
public void setRows(Integer rows) {
|
||||
this.rows = rows;
|
||||
}
|
||||
|
||||
public Integer getCols() {
|
||||
return cols;
|
||||
}
|
||||
|
||||
public void setCols(Integer cols) {
|
||||
this.cols = cols;
|
||||
}
|
||||
|
||||
public Integer getRowHeight() {
|
||||
return rowHeight;
|
||||
}
|
||||
|
||||
public void setRowHeight(Integer rowHeight) {
|
||||
this.rowHeight = rowHeight;
|
||||
}
|
||||
|
||||
public List<Integer> getWidths() {
|
||||
return widths;
|
||||
}
|
||||
|
||||
public void setWidths(List<Integer> widths) {
|
||||
this.widths = widths;
|
||||
}
|
||||
|
||||
public Boolean getDynamicFilling() {
|
||||
return dynamicFilling;
|
||||
}
|
||||
|
||||
public void setDynamicFilling(Boolean dynamicFilling) {
|
||||
this.dynamicFilling = dynamicFilling;
|
||||
}
|
||||
|
||||
public List<List<String>> getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(List<List<String>> defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
public Boolean getHideHeader() {
|
||||
return hideHeader;
|
||||
}
|
||||
|
||||
public void setHideHeader(Boolean hideHeader) {
|
||||
this.hideHeader = hideHeader;
|
||||
}
|
||||
}
|
||||
82
src/com/fasc/open/api/bean/common/FieldTextMultiLine.java
Normal file
82
src/com/fasc/open/api/bean/common/FieldTextMultiLine.java
Normal file
@@ -0,0 +1,82 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/6 9:46:32
|
||||
*/
|
||||
public class FieldTextMultiLine extends BaseBean {
|
||||
private Boolean required;
|
||||
private String defaultValue;
|
||||
private String tips;
|
||||
private Integer width;
|
||||
private Integer height;
|
||||
private String fontType;
|
||||
private Integer fontSize;
|
||||
private String alignment;
|
||||
|
||||
public Boolean getRequired() {
|
||||
return required;
|
||||
}
|
||||
|
||||
public void setRequired(Boolean required) {
|
||||
this.required = required;
|
||||
}
|
||||
|
||||
public String getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(String defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
public String getTips() {
|
||||
return tips;
|
||||
}
|
||||
|
||||
public void setTips(String tips) {
|
||||
this.tips = tips;
|
||||
}
|
||||
|
||||
public Integer getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
public void setWidth(Integer width) {
|
||||
this.width = width;
|
||||
}
|
||||
|
||||
public Integer getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
public void setHeight(Integer height) {
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public String getFontType() {
|
||||
return fontType;
|
||||
}
|
||||
|
||||
public void setFontType(String fontType) {
|
||||
this.fontType = fontType;
|
||||
}
|
||||
|
||||
public Integer getFontSize() {
|
||||
return fontSize;
|
||||
}
|
||||
|
||||
public void setFontSize(Integer fontSize) {
|
||||
this.fontSize = fontSize;
|
||||
}
|
||||
|
||||
public String getAlignment() {
|
||||
return alignment;
|
||||
}
|
||||
|
||||
public void setAlignment(String alignment) {
|
||||
this.alignment = alignment;
|
||||
}
|
||||
}
|
||||
82
src/com/fasc/open/api/bean/common/FieldTextSingleLine.java
Normal file
82
src/com/fasc/open/api/bean/common/FieldTextSingleLine.java
Normal file
@@ -0,0 +1,82 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/6 9:46:32
|
||||
*/
|
||||
public class FieldTextSingleLine extends BaseBean {
|
||||
private Boolean required;
|
||||
private String defaultValue;
|
||||
private String tips;
|
||||
private Integer width;
|
||||
private Integer height;
|
||||
private String fontType;
|
||||
private Integer fontSize;
|
||||
private String alignment;
|
||||
|
||||
public Boolean getRequired() {
|
||||
return required;
|
||||
}
|
||||
|
||||
public void setRequired(Boolean required) {
|
||||
this.required = required;
|
||||
}
|
||||
|
||||
public String getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(String defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
public String getTips() {
|
||||
return tips;
|
||||
}
|
||||
|
||||
public void setTips(String tips) {
|
||||
this.tips = tips;
|
||||
}
|
||||
|
||||
public Integer getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
public void setWidth(Integer width) {
|
||||
this.width = width;
|
||||
}
|
||||
|
||||
public Integer getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
public void setHeight(Integer height) {
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public String getFontType() {
|
||||
return fontType;
|
||||
}
|
||||
|
||||
public void setFontType(String fontType) {
|
||||
this.fontType = fontType;
|
||||
}
|
||||
|
||||
public Integer getFontSize() {
|
||||
return fontSize;
|
||||
}
|
||||
|
||||
public void setFontSize(Integer fontSize) {
|
||||
this.fontSize = fontSize;
|
||||
}
|
||||
|
||||
public String getAlignment() {
|
||||
return alignment;
|
||||
}
|
||||
|
||||
public void setAlignment(String alignment) {
|
||||
this.alignment = alignment;
|
||||
}
|
||||
}
|
||||
59
src/com/fasc/open/api/bean/common/Notification.java
Normal file
59
src/com/fasc/open/api/bean/common/Notification.java
Normal file
@@ -0,0 +1,59 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/11 14:35:51
|
||||
*/
|
||||
public class Notification extends BaseBean {
|
||||
private Boolean sendNotification;
|
||||
private String notifyWay;
|
||||
private String notifyAddress;
|
||||
private Boolean appointAccount;
|
||||
|
||||
public Boolean getSendNotification() {
|
||||
return sendNotification;
|
||||
}
|
||||
|
||||
public void setSendNotification(Boolean sendNotification) {
|
||||
this.sendNotification = sendNotification;
|
||||
}
|
||||
|
||||
public String getNotifyWay() {
|
||||
return notifyWay;
|
||||
}
|
||||
|
||||
public void setNotifyWay(String notifyWay) {
|
||||
this.notifyWay = notifyWay;
|
||||
}
|
||||
|
||||
public String getNotifyAddress() {
|
||||
return notifyAddress;
|
||||
}
|
||||
|
||||
public void setNotifyAddress(String notifyAddress) {
|
||||
this.notifyAddress = notifyAddress;
|
||||
}
|
||||
|
||||
public static Notification getInstance(boolean sendNotification, String notifyWay, String notifyAddress) {
|
||||
return new Notification(sendNotification, notifyWay, notifyAddress);
|
||||
}
|
||||
|
||||
public Notification(Boolean sendNotification, String notifyWay, String notifyAddress) {
|
||||
this.sendNotification = sendNotification;
|
||||
this.notifyWay = notifyWay;
|
||||
this.notifyAddress = notifyAddress;
|
||||
}
|
||||
|
||||
public Notification() {
|
||||
}
|
||||
|
||||
public Boolean getAppointAccount() {
|
||||
return appointAccount;
|
||||
}
|
||||
|
||||
public void setAppointAccount(Boolean appointAccount) {
|
||||
this.appointAccount = appointAccount;
|
||||
}
|
||||
}
|
||||
36
src/com/fasc/open/api/bean/common/OpenId.java
Normal file
36
src/com/fasc/open/api/bean/common/OpenId.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/6 9:28:18
|
||||
*/
|
||||
public class OpenId extends BaseBean {
|
||||
private String idType;
|
||||
private String openId;
|
||||
|
||||
public String getIdType() {
|
||||
return idType;
|
||||
}
|
||||
|
||||
public void setIdType(String idType) {
|
||||
this.idType = idType;
|
||||
}
|
||||
|
||||
public String getOpenId() {
|
||||
return openId;
|
||||
}
|
||||
|
||||
public void setOpenId(String openId) {
|
||||
this.openId = openId;
|
||||
}
|
||||
|
||||
public static OpenId getInstance(String idType,
|
||||
String id) {
|
||||
OpenId openId = new OpenId();
|
||||
openId.setIdType(idType);
|
||||
openId.setOpenId(id);
|
||||
return openId;
|
||||
}
|
||||
}
|
||||
37
src/com/fasc/open/api/bean/common/UserIdentInfo.java
Normal file
37
src/com/fasc/open/api/bean/common/UserIdentInfo.java
Normal file
@@ -0,0 +1,37 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/11 14:32:05
|
||||
*/
|
||||
public class UserIdentInfo extends BaseBean {
|
||||
private String userName;
|
||||
private String identType;
|
||||
private String identNo;
|
||||
|
||||
public String getUserName() {
|
||||
return userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getIdentType() {
|
||||
return identType;
|
||||
}
|
||||
|
||||
public void setIdentType(String identType) {
|
||||
this.identType = identType;
|
||||
}
|
||||
|
||||
public String getIdentNo() {
|
||||
return identNo;
|
||||
}
|
||||
|
||||
public void setIdentNo(String identNo) {
|
||||
this.identNo = identNo;
|
||||
}
|
||||
}
|
||||
29
src/com/fasc/open/api/bean/common/UserInfoExtend.java
Normal file
29
src/com/fasc/open/api/bean/common/UserInfoExtend.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package com.fasc.open.api.bean.common;
|
||||
|
||||
import com.fasc.open.api.bean.base.BaseBean;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/15 13:49:58
|
||||
*/
|
||||
public class UserInfoExtend extends BaseBean {
|
||||
private String bankAccountNo;
|
||||
private String mobile;
|
||||
|
||||
public String getBankAccountNo() {
|
||||
return bankAccountNo;
|
||||
}
|
||||
|
||||
public void setBankAccountNo(String bankAccountNo) {
|
||||
this.bankAccountNo = bankAccountNo;
|
||||
}
|
||||
|
||||
public String getMobile() {
|
||||
return mobile;
|
||||
}
|
||||
|
||||
public void setMobile(String mobile) {
|
||||
this.mobile = mobile;
|
||||
}
|
||||
|
||||
}
|
||||
114
src/com/fasc/open/api/config/HttpConfig.java
Normal file
114
src/com/fasc/open/api/config/HttpConfig.java
Normal file
@@ -0,0 +1,114 @@
|
||||
package com.fasc.open.api.config;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/8 17:53:20
|
||||
*/
|
||||
public class HttpConfig {
|
||||
/**
|
||||
* http连接超时时间
|
||||
*/
|
||||
private Integer connectTimeout;
|
||||
/**
|
||||
* http读超时时间
|
||||
*/
|
||||
private Integer readTimeout;
|
||||
/**
|
||||
* httpclient 每路由(域名)最大的连接数
|
||||
*/
|
||||
private Integer defaultMaxPerRoute;
|
||||
/**
|
||||
* httpclient socket最大的连接数
|
||||
*/
|
||||
private Integer defaultSocketMaxTotal;
|
||||
/**
|
||||
* http是否打开代理
|
||||
*/
|
||||
private Boolean proxyFlag = false;
|
||||
/**
|
||||
* http代理ip
|
||||
*/
|
||||
private String proxyHost;
|
||||
/**
|
||||
* http代理端口号
|
||||
*/
|
||||
private Integer proxyPort;
|
||||
|
||||
|
||||
public HttpConfig() {
|
||||
}
|
||||
|
||||
public HttpConfig(int connectTimeout, int readTimeout, Boolean proxyFlag, String proxyHost, Integer proxyPort) {
|
||||
this.connectTimeout = connectTimeout;
|
||||
this.readTimeout = readTimeout;
|
||||
this.proxyFlag = proxyFlag;
|
||||
this.proxyHost = proxyHost;
|
||||
this.proxyPort = proxyPort;
|
||||
}
|
||||
|
||||
public HttpConfig(int connectTimeout, int readTimeout, Boolean proxyFlag, String proxyHost, Integer proxyPort, Integer defaultMaxPerRoute, Integer defaultSocketMaxTotal) {
|
||||
this.connectTimeout = connectTimeout;
|
||||
this.readTimeout = readTimeout;
|
||||
this.proxyFlag = proxyFlag;
|
||||
this.proxyHost = proxyHost;
|
||||
this.proxyPort = proxyPort;
|
||||
this.defaultMaxPerRoute = defaultMaxPerRoute;
|
||||
this.defaultSocketMaxTotal = defaultSocketMaxTotal;
|
||||
}
|
||||
|
||||
public Integer getDefaultMaxPerRoute() {
|
||||
return defaultMaxPerRoute;
|
||||
}
|
||||
|
||||
public void setDefaultMaxPerRoute(Integer defaultMaxPerRoute) {
|
||||
this.defaultMaxPerRoute = defaultMaxPerRoute;
|
||||
}
|
||||
|
||||
public Integer getDefaultSocketMaxTotal() {
|
||||
return defaultSocketMaxTotal;
|
||||
}
|
||||
|
||||
public void setDefaultSocketMaxTotal(Integer defaultSocketMaxTotal) {
|
||||
this.defaultSocketMaxTotal = defaultSocketMaxTotal;
|
||||
}
|
||||
|
||||
public Integer getConnectTimeout() {
|
||||
return connectTimeout;
|
||||
}
|
||||
|
||||
public void setConnectTimeout(Integer connectTimeout) {
|
||||
this.connectTimeout = connectTimeout;
|
||||
}
|
||||
|
||||
public Integer getReadTimeout() {
|
||||
return readTimeout;
|
||||
}
|
||||
|
||||
public void setReadTimeout(Integer readTimeout) {
|
||||
this.readTimeout = readTimeout;
|
||||
}
|
||||
|
||||
public Boolean getProxyFlag() {
|
||||
return proxyFlag;
|
||||
}
|
||||
|
||||
public void setProxyFlag(Boolean proxyFlag) {
|
||||
this.proxyFlag = proxyFlag;
|
||||
}
|
||||
|
||||
public String getProxyHost() {
|
||||
return proxyHost;
|
||||
}
|
||||
|
||||
public void setProxyHost(String proxyHost) {
|
||||
this.proxyHost = proxyHost;
|
||||
}
|
||||
|
||||
public Integer getProxyPort() {
|
||||
return proxyPort;
|
||||
}
|
||||
|
||||
public void setProxyPort(Integer proxyPort) {
|
||||
this.proxyPort = proxyPort;
|
||||
}
|
||||
}
|
||||
8
src/com/fasc/open/api/constants/EUIConstants.java
Normal file
8
src/com/fasc/open/api/constants/EUIConstants.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package com.fasc.open.api.constants;
|
||||
|
||||
public class EUIConstants {
|
||||
private EUIConstants() {
|
||||
}
|
||||
public static final String SERVICE_AUTHORIZE = "/authorize/list?";
|
||||
|
||||
}
|
||||
165
src/com/fasc/open/api/constants/OpenApiUrlConstants.java
Normal file
165
src/com/fasc/open/api/constants/OpenApiUrlConstants.java
Normal file
@@ -0,0 +1,165 @@
|
||||
package com.fasc.open.api.constants;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/8 15:24:46
|
||||
*/
|
||||
public class OpenApiUrlConstants {
|
||||
private OpenApiUrlConstants() {
|
||||
}
|
||||
|
||||
/*serviceClient*/
|
||||
public static final String SERVICE_GET_ACCESS_TOKEN = "POST /service/get-access-token";
|
||||
|
||||
|
||||
/*UserClient*/
|
||||
public static final String USER_DISABLE = "POST /user/disable";
|
||||
public static final String USER_ENABLE = "POST /user/enable";
|
||||
public static final String USER_UNBIND = "POST /user/unbind";
|
||||
public static final String USER_GET = "POST /user/get";
|
||||
public static final String USER_GET_IDENTITY_INFO = "POST /user/get-identity-info";
|
||||
public static final String USER_GET_IDENT_TRANSACTION_ID = "POST /user/get-ident-transaction-id";
|
||||
public static final String USER_GET_THREE_ELEMENT_VERIFY_URL = "POST /user/three-element-verify/get-url";
|
||||
public static final String USER_GET_FOUR_ELEMENT_VERIFY_URL = "POST /user/four-element-verify/get-url";
|
||||
public static final String USER_GET_IDCARD_IMAGE_DOWNLOAD_URL = "POST /user/element-verify/get-idcard-image-download-url";
|
||||
public static final String USER_GET_OCR_ID_CARD = "POST /user/ocr/id-card";
|
||||
|
||||
/*corpClient*/
|
||||
public static final String CORP_DISABLE = "POST /corp/disable";
|
||||
public static final String CORP_ENABLE = "POST /corp/enable";
|
||||
public static final String CORP_GET = "POST /corp/get";
|
||||
public static final String CORP_GET_IDENTITY_INFO = "POST /corp/get-identity-info";
|
||||
public static final String CORP_UNBIND= "POST /corp/unbind";
|
||||
public static final String CORP_GET_IDENTIFIED_STATUS= "POST /corp/get-identified-status";
|
||||
public static final String CORP_GET_IDENT_TRANSACTION_ID= "POST /corp/get-ident-transaction-id";
|
||||
|
||||
public static final String COUNTERPART_GET_LIST = "POST /counterpart/get-list";
|
||||
|
||||
|
||||
/*docClient*/
|
||||
public static final String FILE_UPLOAD_BY_URL = "POST /file/upload-by-url";
|
||||
public static final String FILE_GET_UPLOAD_URL = "POST /file/get-upload-url";
|
||||
public static final String FILE_PROCESS = "POST /file/process";
|
||||
public static final String OCR_EDIT_GET_COMPARE_URL = "POST /ocr/edit/get-compare-url";
|
||||
public static final String OCR_EDIT_GET_RESULT_COMPARE_URL = "POST /ocr/edit/compare-result-url";
|
||||
public static final String OCR_EDIT_GET_EXAMINE_URL = "POST /ocr/edit/get-examine-url";
|
||||
public static final String OCR_EDIT_GET_RESULT_EXAMINE_URL = "POST /ocr/edit/examine-result-url";
|
||||
public static final String DOC_POST_FILE_VERIFY_SIGN = "POST /file/verify-sign";
|
||||
|
||||
|
||||
|
||||
/*templateClient*/
|
||||
public static final String DOC_TEMPLATE_GET_LIST = "POST /doc-template/get-list";
|
||||
public static final String DOC_TEMPLATE_GET_DETAIL = "POST /doc-template/get-detail";
|
||||
public static final String SIGN_TEMPLATE_GET_LIST = "POST /sign-template/get-list";
|
||||
public static final String SIGN_TEMPLATE_GET_DETAIL = "POST /sign-template/get-detail";
|
||||
public static final String SIGN_TEMPLATE_GET_CREATE_URL = "POST /template/create/get-url";
|
||||
public static final String SIGN_TEMPLATE_GET_EDIT_URL = "POST /template/edit/get-url";
|
||||
public static final String SIGN_TEMPLATE_GET_PREVIEW_URL = "POST /template/preview/get-url";
|
||||
public static final String SIGN_TEMPLATE_GET_MANAGE_URL = "POST /template/manage/get-url";
|
||||
public static final String APP_DOC_TEMPLATE_GET_LIST = "POST /app-doc-template/get-list";
|
||||
public static final String APP_DOC_TEMPLATE_GET_DETAIL = "POST /app-doc-template/get-detail";
|
||||
public static final String APP_SIGN_TEMPLATE_GET_LIST = "POST /app-sign-template/get-list";
|
||||
public static final String APP_SIGN_TEMPLATE_GET_DETAIL = "POST /app-sign-template/get-detail";
|
||||
public static final String APP_TEMPLATE_CREATE_GET_URL = "POST /app-template/create/get-url";
|
||||
public static final String APP_TEMPLATE_EDIT_GET_URL = "POST /app-template/edit/get-url";
|
||||
public static final String APP_TEMPLATE_PREVIEW_GET_URL = "POST /app-template/preview/get-url";
|
||||
public static final String APP_FIELD_CREATE = "POST /app-field/create";
|
||||
public static final String APP_FIELD_MODIFY = "POST /app-field/modify";
|
||||
public static final String APP_FIELD_SET_STATUS = "POST /app-field/set-status";
|
||||
public static final String APP_FIELD_GET_LIST = "POST /app-field/get-list";
|
||||
public static final String APP_DOC_TEMPLATE_SET_STATUS = "POST /app-doc-template/set-status";
|
||||
public static final String APP_DOC_TEMPLATE_DELETE = "POST /app-doc-template/delete";
|
||||
public static final String APP_DOC_SIGN_TEMPLATE_SET_STATUS = "POST /app-sign-template/set-status";
|
||||
public static final String APP_DOC_SIGN_TEMPLATE_DELETE = "POST /app-sign-template/delete";
|
||||
public static final String SET_DOC_TEMPLATE_STATUS = "POST /doc-template/set-status";
|
||||
public static final String DELETE_DOC_TEMPLATE = "POST /doc-template/delete";
|
||||
public static final String SET_SIGN_TEMPLATE_STATUS = "POST /sign-template/set-status";
|
||||
public static final String DELETE_SIGN_TEMPLATE = "POST /sign-template/delete";
|
||||
|
||||
|
||||
/*signTaskClient*/
|
||||
public static final String SIGN_TASK_CREATE = "POST /sign-task/create";
|
||||
public static final String SIGN_TASK_CREATE_WITH_TEMPLATE = "POST /sign-task/create-with-template";
|
||||
public static final String SIGN_TASK_DOC_ADD = "POST /sign-task/doc/add";
|
||||
public static final String SIGN_TASK_DOC_DELETE = "POST /sign-task/doc/delete";
|
||||
public static final String SIGN_TASK_FIELD_ADD = "POST /sign-task/field/add";
|
||||
public static final String SIGN_TASK_FIELD_DELETE = "POST /sign-task/field/delete";
|
||||
public static final String SIGN_TASK_FIELD_FILL_VALUES = "POST /sign-task/field/fill-values";
|
||||
public static final String SIGN_TASK_ATTACH_ADD = "POST /sign-task/attach/add";
|
||||
public static final String SIGN_TASK_ATTACH_DELETE = "POST /sign-task/attach/delete";
|
||||
public static final String SIGN_TASK_ACTOR_ADD = "POST /sign-task/actor/add";
|
||||
public static final String SIGN_TASK_ACTOR_DELETE = "POST /sign-task/actor/delete";
|
||||
public static final String SIGN_TASK_START = "POST /sign-task/start";
|
||||
public static final String SIGN_TASK_CANCEL = "POST /sign-task/cancel";
|
||||
public static final String SIGN_TASK_DOC_FINALIZE = "POST /sign-task/doc-finalize";
|
||||
public static final String SIGN_TASK_BLOCK = "POST /sign-task/block";
|
||||
public static final String SIGN_TASK_UNBLOCK = "POST /sign-task/unblock";
|
||||
public static final String SIGN_TASK_URGE = "POST /sign-task/urge";
|
||||
public static final String SIGN_TASK_GET_DETAIL = "POST /sign-task/app/get-detail";
|
||||
public static final String SIGN_TASK_OWNER_GET_LIST = "POST /sign-task/owner/get-list";
|
||||
public static final String SIGN_TASK_OWNER_GET_DOWNLOAD_URL = "POST /sign-task/owner/get-download-url";
|
||||
public static final String SIGN_TASK_ACTOR_GET_URL="POST /sign-task/actor/get-url";
|
||||
public static final String SIGN_TASK_CATALOG_LIST="POST /sign-task-catalog/list";
|
||||
public static final String SIGN_TASK_FIELD_LIST = "POST /sign-task/field/list";
|
||||
public static final String SIGN_TASK_ACTOR_LIST = "POST /sign-task/actor/list";
|
||||
public static final String SIGN_TASK_GET_APPROVAL_INFO = "POST /sign-task/get-approval-info";
|
||||
public static final String SIGN_TASK_GET_BATCH_SIGN_URL = "POST /sign-task/get-batch-sign-url";
|
||||
public static final String SIGN_TASK_GET_EDIT_URL = "POST /sign-task/get-edit-url";
|
||||
public static final String SIGN_TASK_GET_PREVIEW_URL = "POST /sign-task/get-preview-url";
|
||||
public static final String GET_SIGN_TASK_DOWNLOAD_EVIDENCE_REPORT_URL = "POST /sign-task/evidence-report/get-download-url";
|
||||
public static final String SIGN_TASK_DELETE = "POST /sign-task/delete";
|
||||
public static final String SIGN_TASK_FINISH = "POST /sign-task/finish";
|
||||
public static final String SIGN_TASK_GET_BUSINESS_TYPE_LIST = "POST /sign-task/business-type/get-list";
|
||||
public static final String SIGN_TASK_ACTOR_GET_FACE_PICTURE = "POST /sign-task/actor/get-face-picture";
|
||||
public static final String SIGN_TASK_ABOLISH = "POST /sign-task/abolish";
|
||||
public static final String GET_SIGN_TASK_OWNER_SLICING_TICKET_ID = "POST /sign-task/owner/get-slicing-ticket-id";
|
||||
public static final String GET_SIGN_TASK_OWNER_PIC_DOWNLOAD_URL = "POST /sign-task/owner/get-pic-download-url";
|
||||
public static final String GET_AUDIO_VIDEO_DOWNLOAD_URL = "POST /sign-task/actor/get-audio-video-download-url";
|
||||
|
||||
|
||||
/*EUI*/
|
||||
public static final String BILLING_GET_BILL_URL = "POST /billing/get-bill-url";
|
||||
public static final String APP_PAGE_RESOURCE_GET_URL = "POST /app-page-resource/get-url";
|
||||
public static final String USER_PAGE_RESOURCE_GET_URL = "POST /user-page-resource/get-url";
|
||||
public static final String USER_GET_AUTH_URL = "POST /user/get-auth-url";
|
||||
public static final String CORP_GET_AUTH_URL = "POST /corp/get-auth-url";
|
||||
|
||||
/*OrgClient*/
|
||||
public static final String CORP_DEPT_GET_LIST = "POST /corp/dept/get-list";
|
||||
public static final String CORP_DEPT_GET_DETAIL = "POST /corp/dept/get-detail";
|
||||
public static final String CORP_DEPT_CREATE = "POST /corp/dept/create";
|
||||
public static final String CORP_DEPT_MODIFY = "POST /corp/dept/modify";
|
||||
public static final String CORP_DEPT_DELETE = "POST /corp/dept/delete";
|
||||
public static final String CORP_MEMBER_GET_LIST = "POST /corp/member/get-list";
|
||||
public static final String CORP_MEMBER_GET_DETAIL = "POST /corp/member/get-detail";
|
||||
public static final String CORP_MEMBER_CREATE = "POST /corp/member/create";
|
||||
public static final String CORP_MEMBER_ACTIVE_URL = "POST /corp/member/get-active-url";
|
||||
public static final String CORP_MEMBER_MODIFY = "POST /corp/member/modify";
|
||||
public static final String CORP_MEMBER_SET_DEPT = "POST /corp/member/set-dept";
|
||||
public static final String CORP_MEMBER_SET_STATUS = "POST /corp/member/set-status";
|
||||
public static final String CORP_MEMBER_DELETE = "POST /corp/member/delete";
|
||||
public static final String GET_ORG_MANAGER_URL = "POST /corp/organization/manage/get-url";
|
||||
|
||||
|
||||
/*SealClient*/
|
||||
public static final String SEAL_GET_LIST = "POST /seal/get-list";
|
||||
public static final String SEAL_GET_USER_LIST = "POST /seal/get-user-list";
|
||||
public static final String SEAL_GET_DETAIL = "POST /seal/get-detail";
|
||||
public static final String SEAL_GET_APPOINTED_URL = "POST /seal/manage/get-appointed-seal-url";
|
||||
public static final String GET_USER_SEAL_LIST = "POST /seal/user/get-list";
|
||||
public static final String SEAL_GET_CREATE_URL = "POST /seal/create/get-url";
|
||||
public static final String SEAL_GET_VERIFY_LIST = "POST /seal/verify/get-list";
|
||||
public static final String SEAL_MODIFY = "POST /seal/modify";
|
||||
public static final String SEAL_GET_GRANT_URL = "POST /seal/grant/get-url";
|
||||
public static final String SEAL_CANCEL_GRANT = "POST /seal/grant/cancel";
|
||||
public static final String SEAL_SET_STATUS = "POST /seal/set-status";
|
||||
public static final String SEAL_DELETE = "POST /seal/delete";
|
||||
public static final String SEAL_GET_MANAGE_URL = "POST /seal/manage/get-url";
|
||||
public static final String SEAL_GET_FREE_SIGN_URL = "POST /seal/free-sign/get-url";
|
||||
public static final String PERSONAL_SEAL_GET_LIST = "POST /personal-seal/get-list";
|
||||
public static final String PERSONAL_SEAL_GET_FREE_SIGN_URL = "POST /personal-seal/free-sign/get-url";
|
||||
public static final String CANCEL_SEAL_FREE_SIGN = "POST /seal/free-sign/cancel";
|
||||
public static final String CANCEL_PERSONAL_SEAL_FREE_SIGN = "POST /personal-seal/free-sign/cancel";
|
||||
|
||||
}
|
||||
81
src/com/fasc/open/api/constants/RequestConstants.java
Normal file
81
src/com/fasc/open/api/constants/RequestConstants.java
Normal file
@@ -0,0 +1,81 @@
|
||||
package com.fasc.open.api.constants;
|
||||
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/8 16:09:38
|
||||
*/
|
||||
public class RequestConstants {
|
||||
|
||||
private RequestConstants() {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 企业控制台创建应用后得到的应用ID
|
||||
*/
|
||||
public static final String APP_ID = "X-FASC-App-Id";
|
||||
/**
|
||||
* FASC.openApi子版本号。如当前版本为:5.1
|
||||
*/
|
||||
public static final String API_SUB_VERSION = "X-FASC-Api-SubVersion";
|
||||
|
||||
public static final String CURRENT_SUB_VERSION = "5.1";
|
||||
/**
|
||||
* 签名算法类型:固定HMAC-SHA256
|
||||
*/
|
||||
public static final String SIGN_TYPE = "X-FASC-Sign-Type";
|
||||
/**
|
||||
* 请求参数的签名值
|
||||
*/
|
||||
public static final String SIGN = "X-FASC-Sign";
|
||||
/**
|
||||
* 时间戳(yyyy-MM-dd HH:mm:ss.sss),时间戳必须是保证是当前时间,同时跟法大大这边的服务器时间正负不能相差5分钟
|
||||
*/
|
||||
public static final String TIMESTAMP = "X-FASC-Timestamp";
|
||||
/**
|
||||
* 随机数(32位, 10分钟内不能重复请求)
|
||||
*/
|
||||
public static final String NONCE = "X-FASC-Nonce";
|
||||
/**
|
||||
* 平台令牌,通过获取令牌接口返回
|
||||
*/
|
||||
public static final String ACCESS_TOKEN = "X-FASC-AccessToken";
|
||||
/**
|
||||
* 请求参数的集合,除公共请求参数都必须放在这个参数中传递(除文件,字节流等),json字符串.
|
||||
*/
|
||||
public static final String DATA_KEY = "bizContent";
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public static final String GRANT_TYPE = "X-FASC-Grant-Type";
|
||||
|
||||
public static final String FDD_REQEUST_ID = "X-FASC-Request-Id";
|
||||
|
||||
|
||||
/**
|
||||
* 默认授权类型
|
||||
**/
|
||||
public static final String CLIENT_CREDENTIAL = "client_credential";
|
||||
|
||||
public static final String SUCCESS_CODE = "100000";
|
||||
|
||||
public static final int SUCCESS_CODE_200 = 200;
|
||||
|
||||
|
||||
/**
|
||||
* 字符集
|
||||
**/
|
||||
public static final String CHARSET_UTF8 = "UTF-8";
|
||||
public static final String CHARSET_GBK = "GBK";
|
||||
|
||||
/**
|
||||
* HTTP请求相关
|
||||
**/
|
||||
public static final String METHOD_POST = "POST";
|
||||
public static final String METHOD_GET = "GET";
|
||||
|
||||
public static final String EUI_TIMESTAMP = "timestamp";
|
||||
public static final String EUI_SIGNATURE = "signature";
|
||||
}
|
||||
28
src/com/fasc/open/api/enums/common/ActorPermissionEnum.java
Normal file
28
src/com/fasc/open/api/enums/common/ActorPermissionEnum.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package com.fasc.open.api.enums.common;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/23 11:03:29
|
||||
*/
|
||||
public enum ActorPermissionEnum {
|
||||
|
||||
FILL("fill", "填写和确认内容"),
|
||||
SIGN("sign", "确定签署"),
|
||||
CC("cc", "抄送方"),
|
||||
;
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
ActorPermissionEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
27
src/com/fasc/open/api/enums/common/ActorTypeEnum.java
Normal file
27
src/com/fasc/open/api/enums/common/ActorTypeEnum.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.fasc.open.api.enums.common;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/23 11:03:29
|
||||
*/
|
||||
public enum ActorTypeEnum {
|
||||
|
||||
CORP("corp", "企业"),
|
||||
PERSON("person", "个人");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
ActorTypeEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
36
src/com/fasc/open/api/enums/common/AuthFailedReasonEnum.java
Normal file
36
src/com/fasc/open/api/enums/common/AuthFailedReasonEnum.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package com.fasc.open.api.enums.common;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/15 15:16:27
|
||||
*/
|
||||
public enum AuthFailedReasonEnum {
|
||||
|
||||
|
||||
/**
|
||||
* 本次授权失败原因:
|
||||
* user_ident_info_mismatch: 个人身份信息匹配失败;
|
||||
* corp_ident_info_mismatch: 企业身份信息匹配失败;
|
||||
* reject: 企业经办人操作不允许授权。
|
||||
*/
|
||||
USER_IDENT_INFO_MISMATCH("user_ident_info_mismatch", "个人身份信息匹配失败"),
|
||||
CORP_IDENT_INFO_MISMATCH("corp_ident_info_mismatch", "企业身份信息匹配失败"),
|
||||
REJECT("reject", "企业经办人操作不允许授权");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
AuthFailedReasonEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
}
|
||||
32
src/com/fasc/open/api/enums/common/AuthResultEnum.java
Normal file
32
src/com/fasc/open/api/enums/common/AuthResultEnum.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package com.fasc.open.api.enums.common;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/15 14:10:15
|
||||
*/
|
||||
public enum AuthResultEnum {
|
||||
/**
|
||||
* 本次授权操作结果
|
||||
* success: 成功;
|
||||
* fail: 失败。
|
||||
*/
|
||||
|
||||
SUCCESS("success", "成功"),
|
||||
FAIL("fail", "失败");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
AuthResultEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
33
src/com/fasc/open/api/enums/common/EuiEnvironmentEnum.java
Normal file
33
src/com/fasc/open/api/enums/common/EuiEnvironmentEnum.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package com.fasc.open.api.enums.common;
|
||||
|
||||
/**
|
||||
*@ClassName: EnvironmentEnum
|
||||
*@Description: 环境枚举
|
||||
*@Author: hukc@fadada.com
|
||||
*@Date: 2022/3/24 16:06
|
||||
*/
|
||||
public enum EuiEnvironmentEnum {
|
||||
UAT("UAT", "https://%s.uat-e.fadada.com"),
|
||||
PROD("PROD", "https://%s.e.fadada.com");
|
||||
/**
|
||||
* 字段值
|
||||
*/
|
||||
private String value;
|
||||
/**
|
||||
* 字段值的实际意义
|
||||
*/
|
||||
private String valueInFact;
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public String getValueInFact() {
|
||||
return valueInFact;
|
||||
}
|
||||
|
||||
EuiEnvironmentEnum(String value, String valueInFact) {
|
||||
this.value = value;
|
||||
this.valueInFact = valueInFact;
|
||||
}
|
||||
}
|
||||
43
src/com/fasc/open/api/enums/common/FieldTypeEnum.java
Normal file
43
src/com/fasc/open/api/enums/common/FieldTypeEnum.java
Normal file
@@ -0,0 +1,43 @@
|
||||
package com.fasc.open.api.enums.common;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/23 11:03:29
|
||||
*/
|
||||
public enum FieldTypeEnum {
|
||||
|
||||
PERSON_SIGN("person_sign", "个人签名"),
|
||||
CORP_SEAL("corp_seal", "企业印章"),
|
||||
CORP_SEAL_CROSS_PAGE("corp_seal_cross_page", "企业骑缝章"),
|
||||
DATE_SIGN("date_sign", "日期戳"),
|
||||
|
||||
TEXT_SINGLE_LINE("text_single_line", "单行文本"),
|
||||
TEXT_MULTI_LINE("text_multi_line", "多行文本"),
|
||||
NUMBER("number", "数字控件"),
|
||||
ID_CARD("id_card", "身份证号控件"),
|
||||
FILL_DATE("fill_date", "填写日期控件"),
|
||||
MULTI_RADIO("multi_radio", "单选框-多项控件"),
|
||||
MULTI_CHECKBOX("multi_checkbox", "复选框-多项控件"),
|
||||
CHECK_BOX("check_box", "复选框"),
|
||||
REMARK_SIGN("remark_sign", "备注区"),
|
||||
SELECT_BOX("select_box", "下拉选择项控件"),
|
||||
PICTURE("picture", "图片"),
|
||||
TABLE("table", "表格"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
FieldTypeEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
32
src/com/fasc/open/api/enums/common/IdTypeEnum.java
Normal file
32
src/com/fasc/open/api/enums/common/IdTypeEnum.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package com.fasc.open.api.enums.common;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/15 11:20:27
|
||||
*/
|
||||
public enum IdTypeEnum {
|
||||
/**
|
||||
* 主体类型:
|
||||
* corp: 企业
|
||||
* person: 个人
|
||||
*/
|
||||
|
||||
CORP("corp", "企业"),
|
||||
PERSON("person", "个人");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
IdTypeEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
32
src/com/fasc/open/api/enums/common/NotifyWayEnum.java
Normal file
32
src/com/fasc/open/api/enums/common/NotifyWayEnum.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package com.fasc.open.api.enums.common;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/23 11:20:11
|
||||
*/
|
||||
public enum NotifyWayEnum {
|
||||
/**
|
||||
* 通知方式:
|
||||
* mobile: 手机
|
||||
* email: 邮箱
|
||||
*/
|
||||
MOBILE("mobile", "手机号"),
|
||||
EMAIL("email", "邮箱");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
NotifyWayEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
}
|
||||
33
src/com/fasc/open/api/enums/common/PositionModeEnum.java
Normal file
33
src/com/fasc/open/api/enums/common/PositionModeEnum.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package com.fasc.open.api.enums.common;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/6 9:50:53
|
||||
*/
|
||||
public enum PositionModeEnum {
|
||||
/**
|
||||
* 定位模式:
|
||||
* pixel: 像素值;计算方法参考[文档页面坐标定位计算方法](#文档页面坐标定位计算方法)。
|
||||
* keyword: 关键字定位
|
||||
*/
|
||||
PIXEL("pixel", "像素值"),
|
||||
|
||||
KEYWORD("keyword", "关键字定位");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
PositionModeEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
}
|
||||
33
src/com/fasc/open/api/enums/corp/CorpAuthScopeEnum.java
Normal file
33
src/com/fasc/open/api/enums/corp/CorpAuthScopeEnum.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package com.fasc.open.api.enums.corp;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/10/23 16:13:29
|
||||
*/
|
||||
public enum CorpAuthScopeEnum {
|
||||
|
||||
IDENT_INFO("ident_info", "实名信息"),
|
||||
SEAL_INFO("seal_info", "印章及用印员"),
|
||||
SIGN_TASK_INIT("signtask_init", "签署任务创建及发起"),
|
||||
SIGN_TASK_INFO("signtask_info", "签署任务"),
|
||||
SIGN_TASK_FILE("signtask_file", "签署文件"),
|
||||
TEMPLATE("template", "模板"),
|
||||
ORGANIZATION("organization", "组织"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
CorpAuthScopeEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.fasc.open.api.enums.corp;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/10/23 16:28:03
|
||||
*/
|
||||
public enum CorpAvailableStatusEnum {
|
||||
|
||||
DISABLE("disable", "禁用状态"),
|
||||
ENABLE("enable", "启用状态"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
CorpAvailableStatusEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
28
src/com/fasc/open/api/enums/corp/CorpBindingStatusEnum.java
Normal file
28
src/com/fasc/open/api/enums/corp/CorpBindingStatusEnum.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package com.fasc.open.api.enums.corp;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/10/23 16:28:03
|
||||
*/
|
||||
public enum CorpBindingStatusEnum {
|
||||
|
||||
UNAUTHORIZED("unauthorized", "未授权"),
|
||||
AUTHORIZED("authorized", "已授权"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
CorpBindingStatusEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
37
src/com/fasc/open/api/enums/corp/CorpIdentMethodEnum.java
Normal file
37
src/com/fasc/open/api/enums/corp/CorpIdentMethodEnum.java
Normal file
@@ -0,0 +1,37 @@
|
||||
package com.fasc.open.api.enums.corp;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/10/23 16:19:25
|
||||
*/
|
||||
public enum CorpIdentMethodEnum {
|
||||
/**
|
||||
* 企业实名认证时所选择的认证方案:
|
||||
* legal_rep: 法定代表人身份认证 (企业经办人为法定代表人时,可选法定代表人身份认证)
|
||||
* deputy_auth: 法定代表人授权认证 (企业经办人为代理人时,可选法定代表人授权认证)
|
||||
* payment: 企业对公账户认证 (使用企业在银行开立的对公账户验证并通过打款验证其关系)
|
||||
* offline: 纸质材料审核认证 (企业线上提供资料提交进行预审,并在线下提供材料进行审核,周期较长)。
|
||||
*/
|
||||
|
||||
LEGAL_REP("legal_rep", "法定代表人身份认证"),
|
||||
DEPUTY_AUTH("deputy_auth", "法定代表人授权认证"),
|
||||
PAYMENT("payment", "企业对公账户认证"),
|
||||
OFFLINE("offline", "纸质材料审核认证");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
CorpIdentMethodEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package com.fasc.open.api.enums.corp;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/10/23 16:15:39
|
||||
*/
|
||||
public enum CorpIdentProcessStatusEnum {
|
||||
/**
|
||||
* 企业实名认证状态:
|
||||
* no_start: 未认证
|
||||
* identifying: 认证中
|
||||
* checking: 审核中
|
||||
* checked: 初审通过
|
||||
* success: 认证通过
|
||||
* failed: 认证不通过
|
||||
*/
|
||||
|
||||
NO_START("no_start", "未认证"),
|
||||
IDENTIFYING("identifying", "认证中"),
|
||||
CHECKING("checking", "审核中"),
|
||||
CHECKED("checked", "初审通过"),
|
||||
SUCCESS("success", "认证通过"),
|
||||
FAILED("failed", "认证不通过");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
CorpIdentProcessStatusEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
}
|
||||
28
src/com/fasc/open/api/enums/corp/CorpIdentStatusEnum.java
Normal file
28
src/com/fasc/open/api/enums/corp/CorpIdentStatusEnum.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package com.fasc.open.api.enums.corp;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/10/23 16:28:03
|
||||
*/
|
||||
public enum CorpIdentStatusEnum {
|
||||
|
||||
UNIDENTIFIED("unidentified", "未认证"),
|
||||
IDENTIFIED("identified", "已认证且有效"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
CorpIdentStatusEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
32
src/com/fasc/open/api/enums/corp/CorpIdentTypeEnum.java
Normal file
32
src/com/fasc/open/api/enums/corp/CorpIdentTypeEnum.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package com.fasc.open.api.enums.corp;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/23 10:12:54
|
||||
*/
|
||||
public enum CorpIdentTypeEnum {
|
||||
|
||||
OTHER("other", "其他类型"),
|
||||
|
||||
CORP("corp", "企业"),
|
||||
|
||||
INDIVIDUAL_BIZ("individual_biz", "个体工商户"),
|
||||
|
||||
GOVERNMENT("government", "政府和事业单位");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
CorpIdentTypeEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.fasc.open.api.enums.corp;
|
||||
|
||||
public enum CorpNonEditableInfoEnum {
|
||||
|
||||
CORP_NAME("corpName", "企业名称"),
|
||||
CORP_IDENT_TYPE("corpIdentType", "企业类型"),
|
||||
CORP_IDENT_NO("corpIdentNo", "企业统一信用代码"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
CorpNonEditableInfoEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
31
src/com/fasc/open/api/enums/corp/OperatorTypeEnum.java
Normal file
31
src/com/fasc/open/api/enums/corp/OperatorTypeEnum.java
Normal file
@@ -0,0 +1,31 @@
|
||||
package com.fasc.open.api.enums.corp;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/10/21 12:18:00
|
||||
*/
|
||||
public enum OperatorTypeEnum {
|
||||
/**
|
||||
* 企业认证经办人身份类型:
|
||||
* legal_rep: 企业法定代表人
|
||||
* deputy_auth: 企业授权代理人
|
||||
*/
|
||||
LEGAL_REP("legal_rep", "企业法定代表人"),
|
||||
DEPUTY_AUTH("deputy_auth", "企业普通代理人");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
OperatorTypeEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
28
src/com/fasc/open/api/enums/doc/FileTypeEnum.java
Normal file
28
src/com/fasc/open/api/enums/doc/FileTypeEnum.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package com.fasc.open.api.enums.doc;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/16 10:22:33
|
||||
*/
|
||||
public enum FileTypeEnum {
|
||||
|
||||
DOC("doc", "文档"),
|
||||
ATTACH("attach", "附件"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
FileTypeEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
31
src/com/fasc/open/api/enums/eui/ResourceIdActionEnum.java
Normal file
31
src/com/fasc/open/api/enums/eui/ResourceIdActionEnum.java
Normal file
@@ -0,0 +1,31 @@
|
||||
package com.fasc.open.api.enums.eui;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/18 13:52:18
|
||||
*/
|
||||
public enum ResourceIdActionEnum {
|
||||
|
||||
EDIT("EDIT", "编辑"),
|
||||
PREVIEW("PREVIEW", "预览"),
|
||||
SIGN("SIGN", "填/签"),
|
||||
MANAGE("MANAGE", "管理"),
|
||||
CREATE("CREATE", "新增"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
ResourceIdActionEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
30
src/com/fasc/open/api/enums/eui/ResourceIdEnum.java
Normal file
30
src/com/fasc/open/api/enums/eui/ResourceIdEnum.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package com.fasc.open.api.enums.eui;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/18 13:52:18
|
||||
*/
|
||||
public enum ResourceIdEnum {
|
||||
|
||||
SEAL("SEAL", "印章"),
|
||||
SIGN_TASK("SIGNTASK", "签署任务"),
|
||||
APP_TEMPLATE("APPTEMPLATE", "应用模板"),
|
||||
TEMPLATE("TEMPLATE", "模板"),
|
||||
ORGANIZATION("ORGANIZATION", "组织");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
ResourceIdEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
32
src/com/fasc/open/api/enums/eui/UrlTypeEnum.java
Normal file
32
src/com/fasc/open/api/enums/eui/UrlTypeEnum.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package com.fasc.open.api.enums.eui;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/18 13:52:18
|
||||
*/
|
||||
public enum UrlTypeEnum {
|
||||
|
||||
/**
|
||||
* 计费页面类型:
|
||||
* account: 账户信息
|
||||
* order: 套餐订购
|
||||
*/
|
||||
ACCOUNT("account", "账户信息"),
|
||||
ORDER("order", "套餐订购");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
UrlTypeEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
56
src/com/fasc/open/api/enums/event/CallbackEventEnum.java
Normal file
56
src/com/fasc/open/api/enums/event/CallbackEventEnum.java
Normal file
@@ -0,0 +1,56 @@
|
||||
package com.fasc.open.api.enums.event;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/10/21 15:37:11
|
||||
*/
|
||||
public enum CallbackEventEnum {
|
||||
/**
|
||||
* 回调事件枚举
|
||||
*/
|
||||
USER_AUTHORIZE("user-authorize", "用户授权事件"),
|
||||
CORP_AUTHORIZE("corp-authorize", "企业授权事件"),
|
||||
SIGN_TASK_JOINED("sign-task-joined", "签署任务加入事件"),
|
||||
SIGN_TASK_FILLED("sign-task-filled", "签署任务填写事件"),
|
||||
SIGN_TASK_FILL_REJECTED("sign-task-fill-rejected", "签署任务拒填事件"),
|
||||
SIGN_TASK_SIGNED("sign-task-signed", "签署任务签署事件"),
|
||||
SIGN_TASK_SIGN_FAILED("sign-task-sign-failed", "签署任务签署失败事件"),
|
||||
SIGN_TASK_SIGN_REJECTED("sign-task-sign-rejected", "签署任务拒签事件"),
|
||||
SIGN_TASK_FINISHED("sign-task-finished", "签署任务完成事件"),
|
||||
SIGN_TASK_CANCELED("sign-task-canceled", "签署任务撤销事件"),
|
||||
SIGN_TASK_EXPIRE("sign-task-expire","签署任务过期事件");
|
||||
|
||||
private String eventCode;
|
||||
private String eventName;
|
||||
|
||||
CallbackEventEnum(String eventCode, String eventName) {
|
||||
this.eventCode = eventCode;
|
||||
this.eventName = eventName;
|
||||
}
|
||||
|
||||
public String getEventCode() {
|
||||
return eventCode;
|
||||
}
|
||||
|
||||
public String getEventName() {
|
||||
return eventName;
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据事件编码返回指定枚举
|
||||
*
|
||||
* @param eventCode 事件编码
|
||||
* @return 事件枚举
|
||||
*/
|
||||
public static CallbackEventEnum getCallbackEventEnum(String eventCode) {
|
||||
for (CallbackEventEnum callbackEventEnum : CallbackEventEnum.values()) {
|
||||
if (Objects.equals(callbackEventEnum.eventCode, eventCode)) {
|
||||
return callbackEventEnum;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
22
src/com/fasc/open/api/enums/http/SignTypeEnum.java
Normal file
22
src/com/fasc/open/api/enums/http/SignTypeEnum.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package com.fasc.open.api.enums.http;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/8 16:09:38
|
||||
*/
|
||||
public enum SignTypeEnum {
|
||||
/**
|
||||
* SHA256
|
||||
*/
|
||||
HMAC_SHA256("HMAC-SHA256");
|
||||
|
||||
private String type;
|
||||
|
||||
SignTypeEnum(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
29
src/com/fasc/open/api/enums/org/MemberStatusEnum.java
Normal file
29
src/com/fasc/open/api/enums/org/MemberStatusEnum.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package com.fasc.open.api.enums.org;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/16 10:22:33
|
||||
*/
|
||||
public enum MemberStatusEnum {
|
||||
|
||||
INACTIVE("inactive", "未激活"),
|
||||
DISABLED("disabled", "已禁用"),
|
||||
ACTIVATED("activated", "已激活"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
MemberStatusEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
27
src/com/fasc/open/api/enums/org/SetMemberDeptsModeEnum.java
Normal file
27
src/com/fasc/open/api/enums/org/SetMemberDeptsModeEnum.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.fasc.open.api.enums.org;
|
||||
|
||||
/**
|
||||
* @author zhoufucheng
|
||||
* @date 2022/12/5 17:17
|
||||
*/
|
||||
public enum SetMemberDeptsModeEnum {
|
||||
COVER("cover", "覆盖"),
|
||||
APPEND("append", "追加"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
SetMemberDeptsModeEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
27
src/com/fasc/open/api/enums/org/SetMemberStatusEnum.java
Normal file
27
src/com/fasc/open/api/enums/org/SetMemberStatusEnum.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.fasc.open.api.enums.org;
|
||||
|
||||
/**
|
||||
* @author zhoufucheng
|
||||
* @date 2022/12/5 18:45
|
||||
*/
|
||||
public enum SetMemberStatusEnum {
|
||||
ENABLE("enable", "启用"),
|
||||
DISABLE("disable", "禁用"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
SetMemberStatusEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
29
src/com/fasc/open/api/enums/seal/CertCaOrgEnum.java
Normal file
29
src/com/fasc/open/api/enums/seal/CertCaOrgEnum.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package com.fasc.open.api.enums.seal;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/16 10:22:33
|
||||
*/
|
||||
public enum CertCaOrgEnum {
|
||||
|
||||
CFCA("CFCA", "中国金融认证中心"),
|
||||
ZXCA("ZXCA", "山东豸信认证服务有限公司"),
|
||||
CSCA("CSCA", "世纪数码CA"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
CertCaOrgEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
28
src/com/fasc/open/api/enums/seal/CertEncryptTypeEnum.java
Normal file
28
src/com/fasc/open/api/enums/seal/CertEncryptTypeEnum.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package com.fasc.open.api.enums.seal;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* @date 2021/12/16 10:22:33
|
||||
*/
|
||||
public enum CertEncryptTypeEnum {
|
||||
|
||||
SM2("SM2", "国密证书"),
|
||||
RSA("RSA", "标准证书"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
CertEncryptTypeEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
30
src/com/fasc/open/api/enums/seal/SealCategoryTypeEnum.java
Normal file
30
src/com/fasc/open/api/enums/seal/SealCategoryTypeEnum.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package com.fasc.open.api.enums.seal;
|
||||
|
||||
/**
|
||||
* @date 2022年07月03日 23:47
|
||||
*/
|
||||
public enum SealCategoryTypeEnum {
|
||||
OFFICIAL_SEAL("official_seal", "法定名称章"),
|
||||
CONTRACT_SEAL("contract_seal", "合同专用章"),
|
||||
HR_SEAL("hr_seal", "人事专用章"),
|
||||
FINANCIAL_SEAL("financial_seal", "财务专用章"),
|
||||
LEGAL_REPRESENTATIVE_SEAL("legal_representative_seal", "法定代表人名章"),
|
||||
OTHER("other", "其他"),
|
||||
;
|
||||
|
||||
private String categoryType;
|
||||
private String desc;
|
||||
|
||||
SealCategoryTypeEnum(String categoryType, String desc) {
|
||||
this.categoryType = categoryType;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public String getCategoryType() {
|
||||
return categoryType;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
}
|
||||
27
src/com/fasc/open/api/enums/seal/SetSealStatusEnum.java
Normal file
27
src/com/fasc/open/api/enums/seal/SetSealStatusEnum.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.fasc.open.api.enums.seal;
|
||||
|
||||
/**
|
||||
* @author zhoufucheng
|
||||
* @date 2022/12/5 20:21
|
||||
*/
|
||||
public enum SetSealStatusEnum {
|
||||
ENABLE("enable", "启用"),
|
||||
DISABLE("disable", "禁用"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
SetSealStatusEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
28
src/com/fasc/open/api/enums/signtask/BlockStatusEnum.java
Normal file
28
src/com/fasc/open/api/enums/signtask/BlockStatusEnum.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package com.fasc.open.api.enums.signtask;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/23 11:11:38
|
||||
*/
|
||||
public enum BlockStatusEnum {
|
||||
|
||||
BLOCKED("blocked", "阻塞中"),
|
||||
UNBLOCKED("unblocked", "未阻塞"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
BlockStatusEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
29
src/com/fasc/open/api/enums/signtask/FillStatusEnum.java
Normal file
29
src/com/fasc/open/api/enums/signtask/FillStatusEnum.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package com.fasc.open.api.enums.signtask;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/23 11:11:38
|
||||
*/
|
||||
public enum FillStatusEnum {
|
||||
|
||||
WAIT_FILL("wait_fill", "待填写"),
|
||||
FILLED("filled", "已填写"),
|
||||
FILL_REJECTED("fill_rejected", "已拒填"),
|
||||
;
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
FillStatusEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
27
src/com/fasc/open/api/enums/signtask/JoinStatusEnum.java
Normal file
27
src/com/fasc/open/api/enums/signtask/JoinStatusEnum.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.fasc.open.api.enums.signtask;
|
||||
|
||||
/**
|
||||
* @author Fadada
|
||||
* 2021/9/23 11:03:29
|
||||
*/
|
||||
public enum JoinStatusEnum {
|
||||
|
||||
NO_JOIN("no_join", "未加入"),
|
||||
JOINED("joined", "已加入");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
JoinStatusEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.fasc.open.api.enums.signtask;
|
||||
|
||||
public enum SignFieldStatusEnum {
|
||||
STAMPED("stamped", "已盖章"),
|
||||
UN_STAMPED("unstamped", "未盖章");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
SignFieldStatusEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user