parent
4fb66d1e61
commit
8b6a102400
@ -0,0 +1,69 @@
|
||||
package com.renchao;
|
||||
|
||||
import java.io.*;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.channels.*;
|
||||
import java.nio.file.DirectoryStream;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.nio.file.StandardOpenOption;
|
||||
import java.util.zip.*;
|
||||
|
||||
public class ZipWithNIOExample {
|
||||
public static void main(String[] args) {
|
||||
// String sourceDir = "C:\\Users\\RENCHAO\\Desktop\\aa.pdf";
|
||||
File file = new File("C:\\Users\\RENCHAO\\Desktop\\aa.pdf");
|
||||
String zipFile = "C:\\Users\\RENCHAO\\Desktop\\temp-sss\\aa\\output2.zip";
|
||||
|
||||
try (FileOutputStream fos = new FileOutputStream(zipFile);
|
||||
ZipOutputStream zos = new ZipOutputStream(fos)) {
|
||||
|
||||
// addFilesToZip(sourceDir, "", zos);
|
||||
addFileToZip(file, "", zos);
|
||||
|
||||
System.out.println("Directory successfully compressed.");
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
private static void addFilesToZip(String sourceDir, String basePath, ZipOutputStream zos) throws IOException {
|
||||
Path sourcePath = Paths.get(sourceDir);
|
||||
try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(sourcePath)) {
|
||||
for (Path path : directoryStream) {
|
||||
if (Files.isDirectory(path)) {
|
||||
addFilesToZip(path.toString(), basePath + path.getFileName() + "/", zos);
|
||||
} else {
|
||||
addFileToZip(path.toFile(), basePath, zos);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void addFileToZip(File file, String basePath, ZipOutputStream zos) throws IOException {
|
||||
String entryName = basePath + file.getName();
|
||||
ZipEntry entry = new ZipEntry(entryName);
|
||||
entry.setMethod(ZipEntry.STORED);
|
||||
// entry.setSize(file.length());
|
||||
zos.putNextEntry(entry);
|
||||
entry.setSize(file.length());
|
||||
entry.setCompressedSize(file.length());
|
||||
|
||||
try (FileChannel fileChannel = FileChannel.open(file.toPath(), StandardOpenOption.READ)) {
|
||||
ByteBuffer buffer = ByteBuffer.allocate(1024);
|
||||
CRC32 crc32 = new CRC32();
|
||||
while (fileChannel.read(buffer) != -1) {
|
||||
buffer.flip();
|
||||
byte[] bytes = new byte[buffer.remaining()];
|
||||
buffer.get(bytes);
|
||||
zos.write(bytes);
|
||||
crc32.update(bytes);
|
||||
buffer.clear();
|
||||
}
|
||||
entry.setCrc(crc32.getValue());
|
||||
}
|
||||
|
||||
zos.closeEntry();
|
||||
}
|
||||
}
|
@ -0,0 +1 @@
|
||||
.lab-apply .top-filter[data-v-0d318eb8]{margin-top:24px}.lab-apply .tale-list[data-v-0d318eb8] .el-table th.el-table__cell{color:#333;background:#fafafa;padding:5px 0;font-size:16px}.lab-apply .tale-list[data-v-0d318eb8] .el-table .cell.el-tooltip{font-size:16px}.lab-apply .tale-list .review-status[data-v-0d318eb8]{display:flex;align-items:center}.lab-apply .tale-list .review-status .icon-circle[data-v-0d318eb8]{width:6px;height:6px;border-radius:3px;margin-right:8px;background:#52c41a}.lab-apply .tale-list .review-status .icon-circle.grey[data-v-0d318eb8]{background:#d9d9d9}.lab-apply .tale-list .review-status .icon-circle.orange[data-v-0d318eb8]{background:#ffd859}.lab-apply .tale-list .review-status .icon-circle.green[data-v-0d318eb8]{background:#52c41a}.lab-apply .tale-list .review-status .icon-circle.red[data-v-0d318eb8]{background:#ff4d4f}.lab-apply[data-v-0d318eb8] .el-pagination{text-align:right}
|
@ -0,0 +1 @@
|
||||
.el-table--scrollable-x .el-table__body-wrapper{height:355px}.lab-apply .top-filter[data-v-34b17d1d]{margin-top:24px}.lab-apply .tale-list[data-v-34b17d1d] .el-table th.el-table__cell{color:#333;background:#fafafa;padding:5px 0;font-size:16px}.lab-apply .tale-list[data-v-34b17d1d] .el-table .cell.el-tooltip{font-size:16px}.lab-apply .tale-list .review-status[data-v-34b17d1d]{display:flex;align-items:center}.lab-apply .tale-list .review-status .icon-circle[data-v-34b17d1d]{width:6px;height:6px;border-radius:3px;margin-right:8px;background:#52c41a}.lab-apply .tale-list .review-status .icon-circle.grey[data-v-34b17d1d]{background:#d9d9d9}.lab-apply .tale-list .review-status .icon-circle.orange[data-v-34b17d1d]{background:#ffd859}.lab-apply .tale-list .review-status .icon-circle.green[data-v-34b17d1d]{background:#52c41a}.lab-apply .tale-list .review-status .icon-circle.red[data-v-34b17d1d]{background:#ff4d4f}.lab-apply[data-v-34b17d1d] .el-pagination,[data-v-34b17d1d] .el-pagination{text-align:right}[data-v-34b17d1d] .el-dialog__body{padding:10px}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{border-radius:7px;background-color:rgba(0,0,0,.25)}::-webkit-scrollbar-track{background-color:#f6f6f6}::-webkit-scrollbar-thumb,::-webkit-scrollbar-track{border:0}
|
@ -0,0 +1 @@
|
||||
.personal-info .el-form-item__label{text-align:left!important;font-size:16px!important}.personal-info .el-form-item__content{font-size:16px!important}.personal-info .el-form-item{margin-bottom:0}.personal-info[data-v-54eff09a]{padding-top:20px;font-size:16px}.personal-info .el-icon-success[data-v-54eff09a]{margin-right:6px;color:#6cbd7f}.personal-info .change-pwd-link[data-v-54eff09a]{margin-left:15px;color:#3165db}
|
@ -0,0 +1 @@
|
||||
.find-password[data-v-d37bfed6]{width:100%;min-height:500px;background:#fff}.find-password[data-v-d37bfed6] .el-step__title{text-align:center}.find-password .title[data-v-d37bfed6]{padding:40px 20px;text-align:center;font-size:26px;line-height:40px;font-weight:400}.find-password .el-form[data-v-d37bfed6]{width:382px;margin:60px auto 20px auto}.find-password .procees-contaner[data-v-d37bfed6]{width:700px;padding:60px 200px;margin:0 auto 50px auto;background:#fff}.divClass[data-v-d37bfed6]{width:100%;height:10px;margin:5px 0}.divClass span[data-v-d37bfed6]{float:left;background:#ccc;height:10px;width:31%;margin:0 1%}.divClass .weak[data-v-d37bfed6]{background-color:#f56c6c}.divClass .medium[data-v-d37bfed6]{background-color:#e6a23c}.divClass .strong[data-v-d37bfed6]{background-color:#67c23a}
|
@ -0,0 +1 @@
|
||||
.inner-container[data-v-d9b82c00]{margin:20px auto;background:#fff}.routerList[data-v-d9b82c00]{background:#ecf5ff;height:100vh;border-radius:10px 10px 0 0}.routerList h2[data-v-d9b82c00]{text-align:center;font-size:24px;background:#e6171e;color:#fff;line-height:45px;border-radius:10px 10px 0 0}.routerList ul[data-v-d9b82c00]{line-height:45px;padding:20px 0}.routerList ul li[data-v-d9b82c00]{font-size:18px;font-weight:600;padding:0 20px}.routerList ul li.on[data-v-d9b82c00]{background:#fff;border-left:5px solid #e6171e}.routerList ul li.on a[data-v-d9b82c00]{color:#e6171e}.api-list-container[data-v-d9b82c00]{background:#f9f9f9}.api-list-container .guide-pic[data-v-d9b82c00]{background:url(../../static/img/data-service.82b45c45.jpg) no-repeat top;background-size:100%}.api-list-container .api-list ul[data-v-d9b82c00]{width:100%;align-items:flex-start;flex-wrap:wrap;justify-content:space-between;padding-top:30px;overflow:hidden}.api-list-container .api-list ul li[data-v-d9b82c00]{padding:15px;margin-bottom:50px;box-sizing:border-box;width:32%;height:296px;background:#fff;box-shadow:0 0 6px 0 rgba(217,225,238,.47);border-radius:2px;transition-property:box-shadow transform;transition-duration:.25s,1s;float:left;margin-left:1%;cursor:pointer;border:2px solid #409eff}.api-list-container .api-list ul li[data-v-d9b82c00]:hover{transform:translateY(-10px);box-shadow:0 0 16px 0 rgba(217,225,238,.47);background:linear-gradient(180deg,#2980b9,#87ceeb);border:2px solid #adb5bd}.api-list-container .api-list ul li:hover .aip-intro[data-v-d9b82c00],.api-list-container .api-list ul li:hover .api-info .others b[data-v-d9b82c00],.api-list-container .api-list ul li:hover .api-info[data-v-d9b82c00],.api-list-container .api-list ul li:hover .api-name[data-v-d9b82c00]{color:#fff}.api-list-container .api-list ul li .api-name[data-v-d9b82c00]{font-size:18px;color:#181818;font-weight:700;line-height:18px;height:18px;margin-bottom:15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.api-list-container .api-list ul li .aip-intro[data-v-d9b82c00]{height:120px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;color:#666;line-height:24px;margin-bottom:20px;font-size:14px}.api-list-container .api-list ul li .api-info[data-v-d9b82c00]{padding:20px 0;color:#ababab;font-size:14px;border-top:1px solid #d8d8d8}.api-list-container .api-list ul li .api-info .others[data-v-d9b82c00]{display:flex;justify-content:space-between}.api-list-container .api-list ul li .api-info .others b[data-v-d9b82c00]{font-weight:400;font-size:12px;color:#5274ca;line-height:1;padding:4px 5px;border-radius:2px;border:1px solid #5274ca}.api-list-container .api-list ul li .api-info .data-from[data-v-d9b82c00]{padding-bottom:15px}.api-list-container .api-list .pagination-container[data-v-d9b82c00]{background:transparent}.api-list-container .api-list[data-v-d9b82c00] .el-pagination{text-align:center}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
"use strict";(self["webpackChunkagile_portal_front"]=self["webpackChunkagile_portal_front"]||[]).push([[649],{39649:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"personal-info"},[e("el-form",{ref:"form1",attrs:{model:t.form,"label-width":"140px",align:"left"}},[e("el-row",[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{align:"left",label:"用户名"}},[e("span",[t._v(t._s(t.form.userName))])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"手机号"}},[e("span",[t._v(t._s(t.form.phonenumber))])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"状态"}},["0"==t.form.status?e("span",{staticStyle:{color:"#6cbd7f"}},[t._v("正常")]):e("span",{staticStyle:{color:"red"}},[t._v("停用")])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"企业名"}},[e("span",[t._v(t._s(t.form.enterpriseName))])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"社会统一信用代码"}},[e("span",[t._v(t._s(t.form.socialCreditCode))])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"行业类型"}},[e("span",[t._v(t._s(t.form.industryCategory))])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"地址"}},[e("span",[t._v(t._s(t.form.enterpriseAddress))])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"登录密码"}},[e("i",{staticClass:"icon el-icon-success"}),e("span",[t._v("已设置")]),e("router-link",{staticClass:"change-pwd-link",attrs:{to:"/resetpwd"}},[t._v("更改密码")])],1)],1)],1)],1),e("el-dialog",{attrs:{width:"400px",title:"密码到期提示",visible:t.opens,"append-to-body":"","close-on-click-modal":!1,"close-on-press-escape":!1},on:{"update:visible":function(e){t.opens=e}}},[e("div",{staticStyle:{"text-align":"center","font-size":"18px"}},[t._v(" 登录密码还有"),e("span",{staticStyle:{color:"red","font-size":"25px","font-weight":"bold"}},[t._v(t._s(t.form.pwdRemainderDate))]),t._v("天到期,请尽快修改密码! ")]),e("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"right"},attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.opens=!1}}},[t._v("关闭")]),e("el-button",{attrs:{type:"primary"},on:{click:t.handlefile}},[t._v("去修改")])],1)])],1)},r=[],o=s(12223);const l={name:"UserInfo",data:function(){return{opens:!1,form:{}}},created:function(){this.getUserInfo()},methods:{getUserInfo:function(){var t=this;(0,o.C5)().then((function(e){t.form=e.data,"0"==t.form.firstFlag&&t.$router.push("/resetpwd")["catch"]((function(){})),t.form.pwdRemainderDate>=0&&null!=t.form.pwdRemainderDate&&(t.opens=!0),t.form.pwdRemainderDate<0&&null!=t.form.pwdRemainderDate&&(t.$message({type:"error",message:"登陆密码到期,请修改密码!"}),t.$router.push("/resetpwd")["catch"]((function(){})))}))},handlefile:function(){this.$router.push("/resetpwd")["catch"]((function(){}))}}},n=l;var i=s(1001),f=(0,i.Z)(n,a,r,!1,null,"54eff09a",null);const c=f.exports}}]);
|
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
"use strict";(self["webpackChunkagile_portal_front"]=self["webpackChunkagile_portal_front"]||[]).push([[9],{89009:(t,a,s)=>{s.r(a),s.d(a,{default:()=>u});var i=function(){var t=this,a=t._self._c;return a("div",{staticClass:"api-list-container container"},[t._m(0),a("div",{staticClass:"inner-container"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:4,xs:24}},[a("div",{staticClass:"routerList"},[a("h2",[t._v("数据服务")]),a("ul",[a("li",[a("router-link",{attrs:{to:"/service/introduce"}},[t._v("服务介绍")])],1),a("li",[a("router-link",{attrs:{to:"/service/guide"}},[t._v("服务指南")])],1),a("li",{staticClass:"on"},[a("router-link",{attrs:{to:"/service/api"}},[t._v("API列表")])],1)])])]),a("el-col",{attrs:{span:20,xs:24}},[a("div",{staticClass:"api-list",staticStyle:{overflow:"auto"}},[a("ul",{staticClass:"list"},t._l(t.apiList,(function(s){return a("li",{key:s.id},[a("div",{staticClass:"api-name"},[t._v(t._s(s.apiName))]),a("div",{staticClass:"aip-intro"},[t._v(" "+t._s(s.remark)+" ")]),a("div",{staticClass:"api-info"},[a("div",{staticClass:"data-from"},[t._v("数据提供方:上海公共交通卡有限公司")]),a("div",{staticClass:"others"},[a("span",[t._v("更新时间:"+t._s(s.createTime))])])])])})),0),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(a){return t.$set(t.queryParams,"pageNum",a)},"update:limit":function(a){return t.$set(t.queryParams,"pageSize",a)},pagination:t.getList}})],1)])],1)],1)])},e=[function(){var t=this,a=t._self._c;return a("div",{staticClass:"top-banner guide-pic"},[a("div",{staticClass:"slogan"},[a("h3",{staticClass:"title"},[t._v("API列表 ")]),a("div",{staticClass:"summary"},[t._v("旨在优化数据对外服务方式,提高开发效率,为用户提供规范化数据服务")])])])}],r=s(47121);const n={name:"ApiList",data:function(){return{total:0,apiList:[],queryParams:{pageNum:1,pageSize:9}}},computed:{},mounted:function(){this.backToTop(),this.$parent.$parent.$parent.$refs.topnav.topbg=""},created:function(){this.getList()},methods:{backToTop:function(){window.scrollTo({top:0,behavior:"smooth"})},getList:function(){var t=this;(0,r.ZF)(this.queryParams).then((function(a){t.apiList=a.rows,t.total=a.total}))}}},o=n;var l=s(1001),c=(0,l.Z)(o,i,e,!1,null,"d9b82c00",null);const u=c.exports}}]);
|
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
.lab-apply .top-filter[data-v-0d318eb8]{margin-top:24px}.lab-apply .tale-list[data-v-0d318eb8] .el-table th.el-table__cell{color:#333;background:#fafafa;padding:5px 0;font-size:16px}.lab-apply .tale-list[data-v-0d318eb8] .el-table .cell.el-tooltip{font-size:16px}.lab-apply .tale-list .review-status[data-v-0d318eb8]{display:flex;align-items:center}.lab-apply .tale-list .review-status .icon-circle[data-v-0d318eb8]{width:6px;height:6px;border-radius:3px;margin-right:8px;background:#52c41a}.lab-apply .tale-list .review-status .icon-circle.grey[data-v-0d318eb8]{background:#d9d9d9}.lab-apply .tale-list .review-status .icon-circle.orange[data-v-0d318eb8]{background:#ffd859}.lab-apply .tale-list .review-status .icon-circle.green[data-v-0d318eb8]{background:#52c41a}.lab-apply .tale-list .review-status .icon-circle.red[data-v-0d318eb8]{background:#ff4d4f}.lab-apply[data-v-0d318eb8] .el-pagination{text-align:right}
|
@ -0,0 +1 @@
|
||||
.el-table--scrollable-x .el-table__body-wrapper{height:355px}.lab-apply .top-filter[data-v-34b17d1d]{margin-top:24px}.lab-apply .tale-list[data-v-34b17d1d] .el-table th.el-table__cell{color:#333;background:#fafafa;padding:5px 0;font-size:16px}.lab-apply .tale-list[data-v-34b17d1d] .el-table .cell.el-tooltip{font-size:16px}.lab-apply .tale-list .review-status[data-v-34b17d1d]{display:flex;align-items:center}.lab-apply .tale-list .review-status .icon-circle[data-v-34b17d1d]{width:6px;height:6px;border-radius:3px;margin-right:8px;background:#52c41a}.lab-apply .tale-list .review-status .icon-circle.grey[data-v-34b17d1d]{background:#d9d9d9}.lab-apply .tale-list .review-status .icon-circle.orange[data-v-34b17d1d]{background:#ffd859}.lab-apply .tale-list .review-status .icon-circle.green[data-v-34b17d1d]{background:#52c41a}.lab-apply .tale-list .review-status .icon-circle.red[data-v-34b17d1d]{background:#ff4d4f}.lab-apply[data-v-34b17d1d] .el-pagination,[data-v-34b17d1d] .el-pagination{text-align:right}[data-v-34b17d1d] .el-dialog__body{padding:10px}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{border-radius:7px;background-color:rgba(0,0,0,.25)}::-webkit-scrollbar-track{background-color:#f6f6f6}::-webkit-scrollbar-thumb,::-webkit-scrollbar-track{border:0}
|
@ -0,0 +1 @@
|
||||
.personal-info .el-form-item__label{text-align:left!important;font-size:16px!important}.personal-info .el-form-item__content{font-size:16px!important}.personal-info .el-form-item{margin-bottom:0}.personal-info[data-v-54eff09a]{padding-top:20px;font-size:16px}.personal-info .el-icon-success[data-v-54eff09a]{margin-right:6px;color:#6cbd7f}.personal-info .change-pwd-link[data-v-54eff09a]{margin-left:15px;color:#3165db}
|
@ -0,0 +1 @@
|
||||
.find-password[data-v-d37bfed6]{width:100%;min-height:500px;background:#fff}.find-password[data-v-d37bfed6] .el-step__title{text-align:center}.find-password .title[data-v-d37bfed6]{padding:40px 20px;text-align:center;font-size:26px;line-height:40px;font-weight:400}.find-password .el-form[data-v-d37bfed6]{width:382px;margin:60px auto 20px auto}.find-password .procees-contaner[data-v-d37bfed6]{width:700px;padding:60px 200px;margin:0 auto 50px auto;background:#fff}.divClass[data-v-d37bfed6]{width:100%;height:10px;margin:5px 0}.divClass span[data-v-d37bfed6]{float:left;background:#ccc;height:10px;width:31%;margin:0 1%}.divClass .weak[data-v-d37bfed6]{background-color:#f56c6c}.divClass .medium[data-v-d37bfed6]{background-color:#e6a23c}.divClass .strong[data-v-d37bfed6]{background-color:#67c23a}
|
@ -0,0 +1 @@
|
||||
.inner-container[data-v-d9b82c00]{margin:20px auto;background:#fff}.routerList[data-v-d9b82c00]{background:#ecf5ff;height:100vh;border-radius:10px 10px 0 0}.routerList h2[data-v-d9b82c00]{text-align:center;font-size:24px;background:#e6171e;color:#fff;line-height:45px;border-radius:10px 10px 0 0}.routerList ul[data-v-d9b82c00]{line-height:45px;padding:20px 0}.routerList ul li[data-v-d9b82c00]{font-size:18px;font-weight:600;padding:0 20px}.routerList ul li.on[data-v-d9b82c00]{background:#fff;border-left:5px solid #e6171e}.routerList ul li.on a[data-v-d9b82c00]{color:#e6171e}.api-list-container[data-v-d9b82c00]{background:#f9f9f9}.api-list-container .guide-pic[data-v-d9b82c00]{background:url(../../static/img/data-service.82b45c45.jpg) no-repeat top;background-size:100%}.api-list-container .api-list ul[data-v-d9b82c00]{width:100%;align-items:flex-start;flex-wrap:wrap;justify-content:space-between;padding-top:30px;overflow:hidden}.api-list-container .api-list ul li[data-v-d9b82c00]{padding:15px;margin-bottom:50px;box-sizing:border-box;width:32%;height:296px;background:#fff;box-shadow:0 0 6px 0 rgba(217,225,238,.47);border-radius:2px;transition-property:box-shadow transform;transition-duration:.25s,1s;float:left;margin-left:1%;cursor:pointer;border:2px solid #409eff}.api-list-container .api-list ul li[data-v-d9b82c00]:hover{transform:translateY(-10px);box-shadow:0 0 16px 0 rgba(217,225,238,.47);background:linear-gradient(180deg,#2980b9,#87ceeb);border:2px solid #adb5bd}.api-list-container .api-list ul li:hover .aip-intro[data-v-d9b82c00],.api-list-container .api-list ul li:hover .api-info .others b[data-v-d9b82c00],.api-list-container .api-list ul li:hover .api-info[data-v-d9b82c00],.api-list-container .api-list ul li:hover .api-name[data-v-d9b82c00]{color:#fff}.api-list-container .api-list ul li .api-name[data-v-d9b82c00]{font-size:18px;color:#181818;font-weight:700;line-height:18px;height:18px;margin-bottom:15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.api-list-container .api-list ul li .aip-intro[data-v-d9b82c00]{height:120px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;color:#666;line-height:24px;margin-bottom:20px;font-size:14px}.api-list-container .api-list ul li .api-info[data-v-d9b82c00]{padding:20px 0;color:#ababab;font-size:14px;border-top:1px solid #d8d8d8}.api-list-container .api-list ul li .api-info .others[data-v-d9b82c00]{display:flex;justify-content:space-between}.api-list-container .api-list ul li .api-info .others b[data-v-d9b82c00]{font-weight:400;font-size:12px;color:#5274ca;line-height:1;padding:4px 5px;border-radius:2px;border:1px solid #5274ca}.api-list-container .api-list ul li .api-info .data-from[data-v-d9b82c00]{padding-bottom:15px}.api-list-container .api-list .pagination-container[data-v-d9b82c00]{background:transparent}.api-list-container .api-list[data-v-d9b82c00] .el-pagination{text-align:center}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
"use strict";(self["webpackChunkagile_portal_front"]=self["webpackChunkagile_portal_front"]||[]).push([[649],{39649:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"personal-info"},[e("el-form",{ref:"form1",attrs:{model:t.form,"label-width":"140px",align:"left"}},[e("el-row",[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{align:"left",label:"用户名"}},[e("span",[t._v(t._s(t.form.userName))])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"手机号"}},[e("span",[t._v(t._s(t.form.phonenumber))])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"状态"}},["0"==t.form.status?e("span",{staticStyle:{color:"#6cbd7f"}},[t._v("正常")]):e("span",{staticStyle:{color:"red"}},[t._v("停用")])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"企业名"}},[e("span",[t._v(t._s(t.form.enterpriseName))])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"社会统一信用代码"}},[e("span",[t._v(t._s(t.form.socialCreditCode))])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"行业类型"}},[e("span",[t._v(t._s(t.form.industryCategory))])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"地址"}},[e("span",[t._v(t._s(t.form.enterpriseAddress))])])],1),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"登录密码"}},[e("i",{staticClass:"icon el-icon-success"}),e("span",[t._v("已设置")]),e("router-link",{staticClass:"change-pwd-link",attrs:{to:"/resetpwd"}},[t._v("更改密码")])],1)],1)],1)],1),e("el-dialog",{attrs:{width:"400px",title:"密码到期提示",visible:t.opens,"append-to-body":"","close-on-click-modal":!1,"close-on-press-escape":!1},on:{"update:visible":function(e){t.opens=e}}},[e("div",{staticStyle:{"text-align":"center","font-size":"18px"}},[t._v(" 登录密码还有"),e("span",{staticStyle:{color:"red","font-size":"25px","font-weight":"bold"}},[t._v(t._s(t.form.pwdRemainderDate))]),t._v("天到期,请尽快修改密码! ")]),e("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"right"},attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.opens=!1}}},[t._v("关闭")]),e("el-button",{attrs:{type:"primary"},on:{click:t.handlefile}},[t._v("去修改")])],1)])],1)},r=[],o=s(12223);const l={name:"UserInfo",data:function(){return{opens:!1,form:{}}},created:function(){this.getUserInfo()},methods:{getUserInfo:function(){var t=this;(0,o.C5)().then((function(e){t.form=e.data,"0"==t.form.firstFlag&&t.$router.push("/resetpwd")["catch"]((function(){})),t.form.pwdRemainderDate>=0&&null!=t.form.pwdRemainderDate&&(t.opens=!0),t.form.pwdRemainderDate<0&&null!=t.form.pwdRemainderDate&&(t.$message({type:"error",message:"登陆密码到期,请修改密码!"}),t.$router.push("/resetpwd")["catch"]((function(){})))}))},handlefile:function(){this.$router.push("/resetpwd")["catch"]((function(){}))}}},n=l;var i=s(1001),f=(0,i.Z)(n,a,r,!1,null,"54eff09a",null);const c=f.exports}}]);
|
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
"use strict";(self["webpackChunkagile_portal_front"]=self["webpackChunkagile_portal_front"]||[]).push([[9],{89009:(t,a,s)=>{s.r(a),s.d(a,{default:()=>u});var i=function(){var t=this,a=t._self._c;return a("div",{staticClass:"api-list-container container"},[t._m(0),a("div",{staticClass:"inner-container"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:4,xs:24}},[a("div",{staticClass:"routerList"},[a("h2",[t._v("数据服务")]),a("ul",[a("li",[a("router-link",{attrs:{to:"/service/introduce"}},[t._v("服务介绍")])],1),a("li",[a("router-link",{attrs:{to:"/service/guide"}},[t._v("服务指南")])],1),a("li",{staticClass:"on"},[a("router-link",{attrs:{to:"/service/api"}},[t._v("API列表")])],1)])])]),a("el-col",{attrs:{span:20,xs:24}},[a("div",{staticClass:"api-list",staticStyle:{overflow:"auto"}},[a("ul",{staticClass:"list"},t._l(t.apiList,(function(s){return a("li",{key:s.id},[a("div",{staticClass:"api-name"},[t._v(t._s(s.apiName))]),a("div",{staticClass:"aip-intro"},[t._v(" "+t._s(s.remark)+" ")]),a("div",{staticClass:"api-info"},[a("div",{staticClass:"data-from"},[t._v("数据提供方:上海公共交通卡有限公司")]),a("div",{staticClass:"others"},[a("span",[t._v("更新时间:"+t._s(s.createTime))])])])])})),0),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{total:t.total,page:t.queryParams.pageNum,limit:t.queryParams.pageSize},on:{"update:page":function(a){return t.$set(t.queryParams,"pageNum",a)},"update:limit":function(a){return t.$set(t.queryParams,"pageSize",a)},pagination:t.getList}})],1)])],1)],1)])},e=[function(){var t=this,a=t._self._c;return a("div",{staticClass:"top-banner guide-pic"},[a("div",{staticClass:"slogan"},[a("h3",{staticClass:"title"},[t._v("API列表 ")]),a("div",{staticClass:"summary"},[t._v("旨在优化数据对外服务方式,提高开发效率,为用户提供规范化数据服务")])])])}],r=s(47121);const n={name:"ApiList",data:function(){return{total:0,apiList:[],queryParams:{pageNum:1,pageSize:9}}},computed:{},mounted:function(){this.backToTop(),this.$parent.$parent.$parent.$refs.topnav.topbg=""},created:function(){this.getList()},methods:{backToTop:function(){window.scrollTo({top:0,behavior:"smooth"})},getList:function(){var t=this;(0,r.ZF)(this.queryParams).then((function(a){t.apiList=a.rows,t.total=a.total}))}}},o=n;var l=s(1001),c=(0,l.Z)(o,i,e,!1,null,"d9b82c00",null);const u=c.exports}}]);
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,43 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.api;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.console.*;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
|
||||
public interface IDataProcessBatchConsoleApi {
|
||||
|
||||
/**
|
||||
* NFC行程推送分页查询
|
||||
* @param req 请求对象
|
||||
* @return 返回对象
|
||||
*/
|
||||
@RequestMapping(value = "/marketing-dataProcess-batch/console/nfcTravelNoticePage", method = RequestMethod.POST)
|
||||
BcTravelNoticePageRespVo bcTravelNoticePage(@RequestBody BcTravelNoticePageReqVo req);
|
||||
|
||||
/**
|
||||
* 失败消息分页查询
|
||||
* @param req 请求对象
|
||||
* @return 返回对象
|
||||
*/
|
||||
@RequestMapping(value = "/marketing-dataProcess-batch/console/noticeErrorPage", method = RequestMethod.POST)
|
||||
NoticeErrorPageRespVo noticeErrorPage(@RequestBody NoticeErrorPageReqVo req);
|
||||
|
||||
/**
|
||||
* NFC行程推送重新处理
|
||||
* @param req 请求对象
|
||||
* @return 返回对象
|
||||
*/
|
||||
@RequestMapping(value = "/marketing-dataProcess-batch/console/nfcTravelNoticeReprocess", method = RequestMethod.POST)
|
||||
BcTravelNoticeReprocessRespVo bcTravelNoticeReprocess(@RequestBody BcTravelNoticeReprocessReqVo req);
|
||||
|
||||
/**
|
||||
* 失败消息重新处理
|
||||
* @param req 请求对象
|
||||
* @return 返回对象
|
||||
*/
|
||||
@RequestMapping(value = "/marketing-dataProcess-batch/console/noticeErrorReprocess", method = RequestMethod.POST)
|
||||
NoticeErrorReprocessRespVo noticeErrorReprocess(@RequestBody NoticeErrorReprocessReqVo req);
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.api;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
|
||||
public interface IPingApi {
|
||||
|
||||
/**
|
||||
* 心跳测试请求
|
||||
* @return boolean
|
||||
*/
|
||||
@RequestMapping(value = "/ping/pingTest", method = RequestMethod.GET)
|
||||
boolean pingTest();
|
||||
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto;
|
||||
|
||||
/**
|
||||
* 基础返回对象
|
||||
* @author jiuyv
|
||||
*
|
||||
*/
|
||||
public class BaseReqVo implements java.io.Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1853113471412084273L;
|
||||
|
||||
/** 请求流水号 */
|
||||
private String reqId;
|
||||
|
||||
/**
|
||||
* @return the reqId
|
||||
*/
|
||||
public String getReqId() {
|
||||
return reqId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param reqId the reqId to set
|
||||
*/
|
||||
public void setReqId(String reqId) {
|
||||
this.reqId = reqId;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,68 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto;
|
||||
|
||||
/**
|
||||
* 基础返回对象
|
||||
* @author jiuyv
|
||||
*
|
||||
*/
|
||||
public class BaseRespVo implements java.io.Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -3501869099032176570L;
|
||||
|
||||
/** 请求流水号 */
|
||||
private String reqId;
|
||||
|
||||
/** 返回码*/
|
||||
private String respCode;
|
||||
|
||||
/** 返回说明 */
|
||||
private String respDesc;
|
||||
|
||||
|
||||
/**
|
||||
* @return the respCode
|
||||
*/
|
||||
public String getRespCode() {
|
||||
return respCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param respCode the respCode to set
|
||||
*/
|
||||
public void setRespCode(String respCode) {
|
||||
this.respCode = respCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the respDesc
|
||||
*/
|
||||
public String getRespDesc() {
|
||||
return respDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param respDesc the respDesc to set
|
||||
*/
|
||||
public void setRespDesc(String respDesc) {
|
||||
this.respDesc = respDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the reqId
|
||||
*/
|
||||
public String getReqId() {
|
||||
return reqId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param reqId the reqId to set
|
||||
*/
|
||||
public void setReqId(String reqId) {
|
||||
this.reqId = reqId;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,268 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* EntityBean: TBL_DC_NFC_TRAVEL_NOTICE NFC卡交易推送表 : TBL_DC_NFC_TRAVEL_NOTICE
|
||||
* This is a value object(VO).
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
public class NfcTravelNoticeVo implements java.io.Serializable {
|
||||
|
||||
/** default Serial Version UID*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
// -- Fields --
|
||||
/** seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR) */
|
||||
private String seqNo ;
|
||||
|
||||
/** travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR) */
|
||||
private String travelNo ;
|
||||
|
||||
/** transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR) */
|
||||
private String transType ;
|
||||
|
||||
/** inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14) */
|
||||
private String inTransTime ;
|
||||
|
||||
/** outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14) */
|
||||
private String outTransTime ;
|
||||
|
||||
/** cardNo : 卡号. CARD_NO: VARCHAR2(32 CHAR) */
|
||||
private String cardNo ;
|
||||
|
||||
/** userId : 用户号. USER_ID: VARCHAR2(32 CHAR) */
|
||||
private String userId ;
|
||||
|
||||
/** inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR) */
|
||||
private String inStationId ;
|
||||
|
||||
/** outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR) */
|
||||
private String outStationId ;
|
||||
|
||||
/** mileage : 里程数. MILEAGE: NUMBER(10) */
|
||||
private Long mileage ;
|
||||
|
||||
/**
|
||||
* 渠道和userToken
|
||||
* key: 二级渠道号
|
||||
* value: userToken
|
||||
*/
|
||||
Map<String, String> channels;
|
||||
|
||||
/** stlmDate : 清算日期. STLM_DATE : CHAR(8) */
|
||||
private String stlmDate;
|
||||
|
||||
/** orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14) */
|
||||
private String orderCompleteTime ;
|
||||
|
||||
/** failedCount : 已失败次数. FAILED_COUNT: NUMBER(10) */
|
||||
private Long failedCount ;
|
||||
|
||||
/** maxCount : 最大次数. MAX_COUNT: NUMBER(10) */
|
||||
private Long maxCount ;
|
||||
|
||||
// -- Constructor --
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public NfcTravelNoticeVo() {
|
||||
// Default Construtor
|
||||
}
|
||||
|
||||
public NfcTravelNoticeVo(String seqNo) {
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
// -- Setter And Getter
|
||||
/**
|
||||
* Set seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public void setSeqNo(String seqNo){
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public String getSeqNo(){
|
||||
return this.seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setTravelNo(String travelNo){
|
||||
this.travelNo = travelNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getTravelNo(){
|
||||
return this.travelNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setTransType(String transType){
|
||||
this.transType = transType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getTransType(){
|
||||
return this.transType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public void setInTransTime(String inTransTime){
|
||||
this.inTransTime = inTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public String getInTransTime(){
|
||||
return this.inTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public void setOutTransTime(String outTransTime){
|
||||
this.outTransTime = outTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public String getOutTransTime(){
|
||||
return this.outTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set cardNo : 卡号. CARD_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setCardNo(String cardNo){
|
||||
this.cardNo = cardNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get cardNo : 卡号. CARD_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getCardNo(){
|
||||
return this.cardNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set userId : 用户号. USER_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setUserId(String userId){
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get userId : 用户号. USER_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getUserId(){
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setInStationId(String inStationId){
|
||||
this.inStationId = inStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getInStationId(){
|
||||
return this.inStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setOutStationId(String outStationId){
|
||||
this.outStationId = outStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getOutStationId(){
|
||||
return this.outStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set mileage : 里程数. MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public void setMileage(Long mileage){
|
||||
this.mileage = mileage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mileage : 里程数. MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public Long getMileage(){
|
||||
return this.mileage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14)
|
||||
*/
|
||||
public void setOrderCompleteTime(String orderCompleteTime){
|
||||
this.orderCompleteTime = orderCompleteTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14)
|
||||
*/
|
||||
public String getOrderCompleteTime(){
|
||||
return this.orderCompleteTime;
|
||||
}
|
||||
|
||||
public String getStlmDate() {
|
||||
return stlmDate;
|
||||
}
|
||||
|
||||
public void setStlmDate(String stlmDate) {
|
||||
this.stlmDate = stlmDate;
|
||||
}
|
||||
|
||||
public Map<String, String> getChannels() {
|
||||
return channels;
|
||||
}
|
||||
|
||||
public void setChannels(Map<String, String> channels) {
|
||||
this.channels = channels;
|
||||
}
|
||||
|
||||
public Long getFailedCount() {
|
||||
return failedCount;
|
||||
}
|
||||
|
||||
public void setFailedCount(Long failedCount) {
|
||||
this.failedCount = failedCount;
|
||||
}
|
||||
|
||||
public Long getMaxCount() {
|
||||
return maxCount;
|
||||
}
|
||||
|
||||
public void setMaxCount(Long maxCount) {
|
||||
this.maxCount = maxCount;
|
||||
}
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
/**
|
||||
* NFC推送记录查询对象
|
||||
*/
|
||||
public class BcTravelNoticeFilter {
|
||||
|
||||
/** seqNo : 序号 */
|
||||
private String seqNo;
|
||||
|
||||
/** orgCode : 机构号 */
|
||||
private String orgCode;
|
||||
|
||||
/** transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR) */
|
||||
private String transType ;
|
||||
|
||||
/** travelNo : 行程单号. TRAVEL_NO: VARCHAR2(64 CHAR) */
|
||||
private String travelNo ;
|
||||
|
||||
/** userId : 用户号. USER_ID: VARCHAR2(32 CHAR) */
|
||||
private String userId ;
|
||||
|
||||
/** sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR) */
|
||||
private String sendStatus ;
|
||||
|
||||
/** createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR) */
|
||||
private String createTimeStart ;
|
||||
|
||||
/** createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR) */
|
||||
private String createTimeEnd ;
|
||||
|
||||
/** startTime : 开始时间 */
|
||||
private String stlmStartTime;
|
||||
|
||||
/** endTime : 结束时间 */
|
||||
private String stlmEndTime;
|
||||
|
||||
/** status : 状态 */
|
||||
private String status;
|
||||
|
||||
private String[] statusList;
|
||||
|
||||
public String getOrgCode() {
|
||||
return orgCode;
|
||||
}
|
||||
|
||||
public void setOrgCode(String orgCode) {
|
||||
this.orgCode = orgCode;
|
||||
}
|
||||
|
||||
public String getStlmStartTime() {
|
||||
return stlmStartTime;
|
||||
}
|
||||
|
||||
public void setStlmStartTime(String stlmStartTime) {
|
||||
this.stlmStartTime = stlmStartTime;
|
||||
}
|
||||
|
||||
public String getStlmEndTime() {
|
||||
return stlmEndTime;
|
||||
}
|
||||
|
||||
public void setStlmEndTime(String stlmEndTime) {
|
||||
this.stlmEndTime = stlmEndTime;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String[] getStatusList() {
|
||||
return statusList;
|
||||
}
|
||||
|
||||
public void setStatusList(String[] statusList) {
|
||||
this.statusList = statusList;
|
||||
}
|
||||
|
||||
public String getTransType() {
|
||||
return transType;
|
||||
}
|
||||
|
||||
public void setTransType(String transType) {
|
||||
this.transType = transType;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getSendStatus() {
|
||||
return sendStatus;
|
||||
}
|
||||
|
||||
public void setSendStatus(String sendStatus) {
|
||||
this.sendStatus = sendStatus;
|
||||
}
|
||||
|
||||
public String getCreateTimeStart() {
|
||||
return createTimeStart;
|
||||
}
|
||||
|
||||
public void setCreateTimeStart(String createTimeStart) {
|
||||
this.createTimeStart = createTimeStart;
|
||||
}
|
||||
|
||||
public String getCreateTimeEnd() {
|
||||
return createTimeEnd;
|
||||
}
|
||||
|
||||
public void setCreateTimeEnd(String createTimeEnd) {
|
||||
this.createTimeEnd = createTimeEnd;
|
||||
}
|
||||
|
||||
public String getSeqNo() {
|
||||
return seqNo;
|
||||
}
|
||||
|
||||
public void setSeqNo(String seqNo) {
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
public String getTravelNo() {
|
||||
return travelNo;
|
||||
}
|
||||
|
||||
public void setTravelNo(String travelNo) {
|
||||
this.travelNo = travelNo;
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.BaseReqVo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class BcTravelNoticePageReqVo extends BaseReqVo implements Serializable {
|
||||
|
||||
/** filter : 查询参数 */
|
||||
private BcTravelNoticeFilter filter;
|
||||
|
||||
/** pageVo : 分页参数 */
|
||||
private PageVo pageVo;
|
||||
|
||||
public BcTravelNoticeFilter getFilter() {
|
||||
return filter;
|
||||
}
|
||||
|
||||
public void setFilter(BcTravelNoticeFilter filter) {
|
||||
this.filter = filter;
|
||||
}
|
||||
|
||||
public PageVo getPageVo() {
|
||||
return pageVo;
|
||||
}
|
||||
|
||||
public void setPageVo(PageVo pageVo) {
|
||||
this.pageVo = pageVo;
|
||||
}
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.BaseRespVo;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 二维码营销订单查询返回对象
|
||||
*/
|
||||
public class BcTravelNoticePageRespVo extends BaseRespVo implements Serializable {
|
||||
|
||||
/** totalCount : 总条数 */
|
||||
private Long totalCount ;
|
||||
|
||||
/** orderList : 订单列表 */
|
||||
private List<DcBcTravelNoticeVo> orderList;
|
||||
|
||||
public Long getTotalCount() {
|
||||
return totalCount;
|
||||
}
|
||||
|
||||
public void setTotalCount(Long totalCount) {
|
||||
this.totalCount = totalCount;
|
||||
}
|
||||
|
||||
public List<DcBcTravelNoticeVo> getOrderList() {
|
||||
return orderList;
|
||||
}
|
||||
|
||||
public void setOrderList(List<DcBcTravelNoticeVo> orderList) {
|
||||
this.orderList = orderList;
|
||||
}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.BaseReqVo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 重新处理NFC行程推送
|
||||
*/
|
||||
public class BcTravelNoticeReprocessReqVo extends BaseReqVo implements Serializable {
|
||||
|
||||
/** seqNo : 序号 */
|
||||
private String seqNo;
|
||||
|
||||
public String getSeqNo() {
|
||||
return seqNo;
|
||||
}
|
||||
|
||||
public void setSeqNo(String seqNo) {
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.BaseRespVo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 重新处理NFC行程推送
|
||||
*/
|
||||
public class BcTravelNoticeReprocessRespVo extends BaseRespVo implements Serializable {
|
||||
|
||||
}
|
@ -0,0 +1,534 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* EntityBean: TBL_DC_BC_TRAVEL_NOTICE 二维码交易推送表 : TBL_DC_BC_TRAVEL_NOTICE
|
||||
* This is a value object(VO).
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
public class DcBcTravelNoticeVo implements java.io.Serializable {
|
||||
|
||||
/** default Serial Version UID*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
// -- Fields --
|
||||
/** seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR) */
|
||||
private String seqNo ;
|
||||
|
||||
/** txnLock : 锁标志. TXN_LOCK: CHAR(1) */
|
||||
private String txnLock ;
|
||||
|
||||
/** txnTime : 锁时间. TXN_TIME: CHAR(14) */
|
||||
private String txnTime ;
|
||||
|
||||
/** travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR) */
|
||||
private String travelNo ;
|
||||
|
||||
/** transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR) */
|
||||
private String transType ;
|
||||
|
||||
/** bcChannel : 拉码渠道. BC_CHANNEL: VARCHAR2(32 CHAR) */
|
||||
private String bcChannel ;
|
||||
|
||||
/** inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14) */
|
||||
private String inTransTime ;
|
||||
|
||||
/** outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14) */
|
||||
private String outTransTime ;
|
||||
|
||||
/** userId : 用户号. USER_ID: VARCHAR2(32 CHAR) */
|
||||
private String userId ;
|
||||
|
||||
/** inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR) */
|
||||
private String inStationId ;
|
||||
|
||||
/** outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR) */
|
||||
private String outStationId ;
|
||||
|
||||
/** mileage : 里程数. MILEAGE: NUMBER(10) */
|
||||
private Long mileage ;
|
||||
|
||||
/** carMileage : 驾车里程数. CAR_MILEAGE: NUMBER(10) */
|
||||
private Long carMileage;
|
||||
|
||||
/** carbonFootprint : 碳排放量. CARBON_FOOTPRINT: VARCHAR2(32 CHAR) */
|
||||
private String carbonFootprint ;
|
||||
|
||||
/** calcFactorVersion : 碳排放量因子版本号. CALC_FACTOR_VERSION: VARCHAR2(32 CHAR) */
|
||||
private String calcFactorVersion ;
|
||||
|
||||
/** firstChannels : 推送一级机构号. FIRST_CHANNELS: VARCHAR2(512 CHAR) */
|
||||
private String firstChannels ;
|
||||
|
||||
/** secondChannels : 推送二级机构号. SECOND_CHANNELS: VARCHAR2(512 CHAR) */
|
||||
private String secondChannels ;
|
||||
|
||||
/** userTokens : 机构用户令牌. USER_TOKENS: VARCHAR2(512 CHAR) */
|
||||
private String userTokens ;
|
||||
|
||||
/** stlmDate : 清算日期. STLM_DATE: CHAR(8) */
|
||||
private String stlmDate ;
|
||||
|
||||
/** travelHash : 行程特征值. TRAVEL_HASH: VARCHAR2(64 CHAR) */
|
||||
private String travelHash ;
|
||||
|
||||
/** status : 状态. STATUS: VARCHAR2(32 CHAR) */
|
||||
private String status ;
|
||||
|
||||
/** remark : 备注. REMARK: VARCHAR(255 CHAR) */
|
||||
private String remark ;
|
||||
|
||||
/** orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14) */
|
||||
private String orderCompleteTime ;
|
||||
|
||||
/** nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14) */
|
||||
private String nextSendTime ;
|
||||
|
||||
/** sendCount : 发送次数. SEND_COUNT: NUMBER(10) */
|
||||
private Long sendCount ;
|
||||
|
||||
/** sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR) */
|
||||
private String sendStatus ;
|
||||
|
||||
/** createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR) */
|
||||
private String createUser ;
|
||||
|
||||
/** createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR) */
|
||||
private String createTime ;
|
||||
|
||||
/** lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR) */
|
||||
private String lstUpdUser ;
|
||||
|
||||
/** lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14) */
|
||||
private String lstUpdTime ;
|
||||
|
||||
// -- Constructor --
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public DcBcTravelNoticeVo() {
|
||||
// Default Construtor
|
||||
}
|
||||
|
||||
public DcBcTravelNoticeVo(String seqNo) {
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
// -- Setter And Getter
|
||||
/**
|
||||
* Set seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public void setSeqNo(String seqNo){
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public String getSeqNo(){
|
||||
return this.seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set txnLock : 锁标志. TXN_LOCK: CHAR(1)
|
||||
*/
|
||||
public void setTxnLock(String txnLock){
|
||||
this.txnLock = txnLock;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get txnLock : 锁标志. TXN_LOCK: CHAR(1)
|
||||
*/
|
||||
public String getTxnLock(){
|
||||
return this.txnLock;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set txnTime : 锁时间. TXN_TIME: CHAR(14)
|
||||
*/
|
||||
public void setTxnTime(String txnTime){
|
||||
this.txnTime = txnTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get txnTime : 锁时间. TXN_TIME: CHAR(14)
|
||||
*/
|
||||
public String getTxnTime(){
|
||||
return this.txnTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setTravelNo(String travelNo){
|
||||
this.travelNo = travelNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getTravelNo(){
|
||||
return this.travelNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setTransType(String transType){
|
||||
this.transType = transType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getTransType(){
|
||||
return this.transType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set bcChannel : 拉码渠道. BC_CHANNEL: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setBcChannel(String bcChannel){
|
||||
this.bcChannel = bcChannel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get bcChannel : 拉码渠道. BC_CHANNEL: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getBcChannel(){
|
||||
return this.bcChannel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public void setInTransTime(String inTransTime){
|
||||
this.inTransTime = inTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public String getInTransTime(){
|
||||
return this.inTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public void setOutTransTime(String outTransTime){
|
||||
this.outTransTime = outTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public String getOutTransTime(){
|
||||
return this.outTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set userId : 用户号. USER_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setUserId(String userId){
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get userId : 用户号. USER_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getUserId(){
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setInStationId(String inStationId){
|
||||
this.inStationId = inStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getInStationId(){
|
||||
return this.inStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setOutStationId(String outStationId){
|
||||
this.outStationId = outStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getOutStationId(){
|
||||
return this.outStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set mileage : 里程数. MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public void setMileage(Long mileage){
|
||||
this.mileage = mileage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mileage : 里程数. MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public Long getMileage(){
|
||||
return this.mileage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set carbonFootprint : 碳排放量. CARBON_FOOTPRINT: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setCarbonFootprint(String carbonFootprint){
|
||||
this.carbonFootprint = carbonFootprint;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get carbonFootprint : 碳排放量. CARBON_FOOTPRINT: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getCarbonFootprint(){
|
||||
return this.carbonFootprint;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set calcFactorVersion : 碳排放量因子版本号. CALC_FACTOR_VERSION: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setCalcFactorVersion(String calcFactorVersion){
|
||||
this.calcFactorVersion = calcFactorVersion;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get calcFactorVersion : 碳排放量因子版本号. CALC_FACTOR_VERSION: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getCalcFactorVersion(){
|
||||
return this.calcFactorVersion;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set firstChannels : 推送一级机构号. FIRST_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public void setFirstChannels(String firstChannels){
|
||||
this.firstChannels = firstChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get firstChannels : 推送一级机构号. FIRST_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public String getFirstChannels(){
|
||||
return this.firstChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set secondChannels : 推送二级机构号. SECOND_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public void setSecondChannels(String secondChannels){
|
||||
this.secondChannels = secondChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get secondChannels : 推送二级机构号. SECOND_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public String getSecondChannels(){
|
||||
return this.secondChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set userTokens : 机构用户令牌. USER_TOKENS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public void setUserTokens(String userTokens){
|
||||
this.userTokens = userTokens;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get userTokens : 机构用户令牌. USER_TOKENS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public String getUserTokens(){
|
||||
return this.userTokens;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set stlmDate : 清算日期. STLM_DATE: CHAR(8)
|
||||
*/
|
||||
public void setStlmDate(String stlmDate){
|
||||
this.stlmDate = stlmDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get stlmDate : 清算日期. STLM_DATE: CHAR(8)
|
||||
*/
|
||||
public String getStlmDate(){
|
||||
return this.stlmDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set travelHash : 行程特征值. TRAVEL_HASH: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public void setTravelHash(String travelHash){
|
||||
this.travelHash = travelHash;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get travelHash : 行程特征值. TRAVEL_HASH: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public String getTravelHash(){
|
||||
return this.travelHash;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set status : 状态. STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setStatus(String status){
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get status : 状态. STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getStatus(){
|
||||
return this.status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set remark : 备注. REMARK: VARCHAR(255 CHAR)
|
||||
*/
|
||||
public void setRemark(String remark){
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get remark : 备注. REMARK: VARCHAR(255 CHAR)
|
||||
*/
|
||||
public String getRemark(){
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14)
|
||||
*/
|
||||
public void setOrderCompleteTime(String orderCompleteTime){
|
||||
this.orderCompleteTime = orderCompleteTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14)
|
||||
*/
|
||||
public String getOrderCompleteTime(){
|
||||
return this.orderCompleteTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14)
|
||||
*/
|
||||
public void setNextSendTime(String nextSendTime){
|
||||
this.nextSendTime = nextSendTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14)
|
||||
*/
|
||||
public String getNextSendTime(){
|
||||
return this.nextSendTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set sendCount : 发送次数. SEND_COUNT: NUMBER(10)
|
||||
*/
|
||||
public void setSendCount(Long sendCount){
|
||||
this.sendCount = sendCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sendCount : 发送次数. SEND_COUNT: NUMBER(10)
|
||||
*/
|
||||
public Long getSendCount(){
|
||||
return this.sendCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setSendStatus(String sendStatus){
|
||||
this.sendStatus = sendStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getSendStatus(){
|
||||
return this.sendStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setCreateUser(String createUser){
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getCreateUser(){
|
||||
return this.createUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR)
|
||||
*/
|
||||
public void setCreateTime(String createTime){
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR)
|
||||
*/
|
||||
public String getCreateTime(){
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setLstUpdUser(String lstUpdUser){
|
||||
this.lstUpdUser = lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getLstUpdUser(){
|
||||
return this.lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14)
|
||||
*/
|
||||
public void setLstUpdTime(String lstUpdTime){
|
||||
this.lstUpdTime = lstUpdTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14)
|
||||
*/
|
||||
public String getLstUpdTime(){
|
||||
return this.lstUpdTime;
|
||||
}
|
||||
|
||||
public Long getCarMileage() {
|
||||
return carMileage;
|
||||
}
|
||||
|
||||
public void setCarMileage(Long carMileage) {
|
||||
this.carMileage = carMileage;
|
||||
}
|
||||
}
|
@ -0,0 +1,460 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* EntityBean: TBL_DC_NFC_TRAVEL_NOTICE NFC卡交易推送表 : TBL_DC_NFC_TRAVEL_NOTICE
|
||||
* This is a value object(VO).
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
public class DcNfcTravelNoticeVo implements java.io.Serializable {
|
||||
|
||||
/** default Serial Version UID*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
// -- Fields --
|
||||
/** seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR) */
|
||||
private String seqNo ;
|
||||
|
||||
/** txnLock : 锁标志. TXN_LOCK: CHAR(1) */
|
||||
private String txnLock ;
|
||||
|
||||
/** txnTime : 锁时间. TXN_TIME: CHAR(14) */
|
||||
private String txnTime ;
|
||||
|
||||
/** travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR) */
|
||||
private String travelNo ;
|
||||
|
||||
/** transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR) */
|
||||
private String transType ;
|
||||
|
||||
/** inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14) */
|
||||
private String inTransTime ;
|
||||
|
||||
/** outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14) */
|
||||
private String outTransTime ;
|
||||
|
||||
/** cardNo : 卡号. CARD_NO: VARCHAR2(32 CHAR) */
|
||||
private String cardNo ;
|
||||
|
||||
/** userId : 用户号. USER_ID: VARCHAR2(32 CHAR) */
|
||||
private String userId ;
|
||||
|
||||
/** inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR) */
|
||||
private String inStationId ;
|
||||
|
||||
/** outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR) */
|
||||
private String outStationId ;
|
||||
|
||||
/** mileage : 里程数. MILEAGE: NUMBER(10) */
|
||||
private Long mileage ;
|
||||
|
||||
/** firstChannels : 推送一级机构号. FIRST_CHANNELS: VARCHAR2(512 CHAR) */
|
||||
private String firstChannels ;
|
||||
|
||||
/** secondChannels : 推送二级机构号. SECOND_CHANNELS: VARCHAR2(512 CHAR) */
|
||||
private String secondChannels ;
|
||||
|
||||
/** userTokens : 机构用户令牌. USER_TOKENS: VARCHAR2(512 CHAR) */
|
||||
private String userTokens ;
|
||||
|
||||
/** stlmDate : 清算日期. STLM_DATE : CHAR(8) */
|
||||
private String stlmDate;
|
||||
|
||||
/** status : 状态. STATUS: VARCHAR2(32 CHAR) */
|
||||
private String status ;
|
||||
|
||||
/** orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14) */
|
||||
private String orderCompleteTime ;
|
||||
|
||||
/** nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14) */
|
||||
private String nextSendTime ;
|
||||
|
||||
/** sendCount : 发送次数. SEND_COUNT: NUMBER(10) */
|
||||
private Long sendCount ;
|
||||
|
||||
/** sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR) */
|
||||
private String sendStatus ;
|
||||
|
||||
/** createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR) */
|
||||
private String createUser ;
|
||||
|
||||
/** createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR) */
|
||||
private String createTime ;
|
||||
|
||||
/** lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR) */
|
||||
private String lstUpdUser ;
|
||||
|
||||
/** lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14) */
|
||||
private String lstUpdTime ;
|
||||
|
||||
/** remark : 备注. REMARK: VARCHAR2(255 CHAR) */
|
||||
private String remark;
|
||||
|
||||
// -- Constructor --
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public DcNfcTravelNoticeVo() {
|
||||
// Default Construtor
|
||||
}
|
||||
|
||||
public DcNfcTravelNoticeVo(String seqNo) {
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
// -- Setter And Getter
|
||||
/**
|
||||
* Set seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public void setSeqNo(String seqNo){
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public String getSeqNo(){
|
||||
return this.seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set txnLock : 锁标志. TXN_LOCK: CHAR(1)
|
||||
*/
|
||||
public void setTxnLock(String txnLock){
|
||||
this.txnLock = txnLock;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get txnLock : 锁标志. TXN_LOCK: CHAR(1)
|
||||
*/
|
||||
public String getTxnLock(){
|
||||
return this.txnLock;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set txnTime : 锁时间. TXN_TIME: CHAR(14)
|
||||
*/
|
||||
public void setTxnTime(String txnTime){
|
||||
this.txnTime = txnTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get txnTime : 锁时间. TXN_TIME: CHAR(14)
|
||||
*/
|
||||
public String getTxnTime(){
|
||||
return this.txnTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setTravelNo(String travelNo){
|
||||
this.travelNo = travelNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getTravelNo(){
|
||||
return this.travelNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setTransType(String transType){
|
||||
this.transType = transType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getTransType(){
|
||||
return this.transType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public void setInTransTime(String inTransTime){
|
||||
this.inTransTime = inTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public String getInTransTime(){
|
||||
return this.inTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public void setOutTransTime(String outTransTime){
|
||||
this.outTransTime = outTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public String getOutTransTime(){
|
||||
return this.outTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set cardNo : 卡号. CARD_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setCardNo(String cardNo){
|
||||
this.cardNo = cardNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get cardNo : 卡号. CARD_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getCardNo(){
|
||||
return this.cardNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set userId : 用户号. USER_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setUserId(String userId){
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get userId : 用户号. USER_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getUserId(){
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setInStationId(String inStationId){
|
||||
this.inStationId = inStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getInStationId(){
|
||||
return this.inStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setOutStationId(String outStationId){
|
||||
this.outStationId = outStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getOutStationId(){
|
||||
return this.outStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set mileage : 里程数. MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public void setMileage(Long mileage){
|
||||
this.mileage = mileage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mileage : 里程数. MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public Long getMileage(){
|
||||
return this.mileage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set firstChannels : 推送一级机构号. FIRST_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public void setFirstChannels(String firstChannels){
|
||||
this.firstChannels = firstChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get firstChannels : 推送一级机构号. FIRST_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public String getFirstChannels(){
|
||||
return this.firstChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set secondChannels : 推送二级机构号. SECOND_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public void setSecondChannels(String secondChannels){
|
||||
this.secondChannels = secondChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get secondChannels : 推送二级机构号. SECOND_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public String getSecondChannels(){
|
||||
return this.secondChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set userTokens : 机构用户令牌. USER_TOKENS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public void setUserTokens(String userTokens){
|
||||
this.userTokens = userTokens;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get userTokens : 机构用户令牌. USER_TOKENS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public String getUserTokens(){
|
||||
return this.userTokens;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set status : 状态. STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setStatus(String status){
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get status : 状态. STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getStatus(){
|
||||
return this.status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14)
|
||||
*/
|
||||
public void setOrderCompleteTime(String orderCompleteTime){
|
||||
this.orderCompleteTime = orderCompleteTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14)
|
||||
*/
|
||||
public String getOrderCompleteTime(){
|
||||
return this.orderCompleteTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14)
|
||||
*/
|
||||
public void setNextSendTime(String nextSendTime){
|
||||
this.nextSendTime = nextSendTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14)
|
||||
*/
|
||||
public String getNextSendTime(){
|
||||
return this.nextSendTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set sendCount : 发送次数. SEND_COUNT: NUMBER(10)
|
||||
*/
|
||||
public void setSendCount(Long sendCount){
|
||||
this.sendCount = sendCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sendCount : 发送次数. SEND_COUNT: NUMBER(10)
|
||||
*/
|
||||
public Long getSendCount(){
|
||||
return this.sendCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setSendStatus(String sendStatus){
|
||||
this.sendStatus = sendStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getSendStatus(){
|
||||
return this.sendStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setCreateUser(String createUser){
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getCreateUser(){
|
||||
return this.createUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR)
|
||||
*/
|
||||
public void setCreateTime(String createTime){
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR)
|
||||
*/
|
||||
public String getCreateTime(){
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setLstUpdUser(String lstUpdUser){
|
||||
this.lstUpdUser = lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getLstUpdUser(){
|
||||
return this.lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14)
|
||||
*/
|
||||
public void setLstUpdTime(String lstUpdTime){
|
||||
this.lstUpdTime = lstUpdTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14)
|
||||
*/
|
||||
public String getLstUpdTime(){
|
||||
return this.lstUpdTime;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getStlmDate() {
|
||||
return stlmDate;
|
||||
}
|
||||
|
||||
public void setStlmDate(String stlmDate) {
|
||||
this.stlmDate = stlmDate;
|
||||
}
|
||||
}
|
@ -0,0 +1,245 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* EntityBean: TBL_DC_NOTICE_ERROR 推送错误记录表 : TBL_DC_NOTICE_ERROR
|
||||
* This is a value object(VO).
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
public class DcNoticeErrorVo implements java.io.Serializable {
|
||||
|
||||
/** default Serial Version UID*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
// -- Fields --
|
||||
/** seqNo : 序号. SEQ_NO: VARCHAR2(64 CHAR) */
|
||||
private String seqNo ;
|
||||
|
||||
/** noticeSeqNo : 推送序号. NOTICE_SEQ_NO: VARCHAR2(64 CHAR) */
|
||||
private String noticeSeqNo ;
|
||||
|
||||
/** msgContent : 消息内容. MSG_CONTENT: CLOB */
|
||||
private String msgContent ;
|
||||
|
||||
/** noticeType : 推送类型. NOTICE_TYPE: VARCHAR2(32 CHAR) */
|
||||
private String noticeType ;
|
||||
|
||||
/** reason : 失败原因. REASON: VARCHAR2(255 CHAR) */
|
||||
private String reason ;
|
||||
|
||||
/** status : 状态. STATUS: VARCHAR2(32 CHAR) */
|
||||
private String status ;
|
||||
|
||||
/** nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14) */
|
||||
private String nextSendTime ;
|
||||
|
||||
/** sendCount : 发送次数. SEND_COUNT: NUMBER(10) */
|
||||
private Long sendCount ;
|
||||
|
||||
/** sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR) */
|
||||
private String sendStatus ;
|
||||
|
||||
/** createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR) */
|
||||
private String createUser ;
|
||||
|
||||
/** createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR) */
|
||||
private String createTime ;
|
||||
|
||||
/** lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR) */
|
||||
private String lstUpdUser ;
|
||||
|
||||
/** lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14) */
|
||||
private String lstUpdTime ;
|
||||
|
||||
// -- Constructor --
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public DcNoticeErrorVo() {
|
||||
// Default Construtor
|
||||
}
|
||||
|
||||
public DcNoticeErrorVo(String seqNo) {
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
// -- Setter And Getter
|
||||
/**
|
||||
* Set seqNo : 序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public void setSeqNo(String seqNo){
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get seqNo : 序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public String getSeqNo(){
|
||||
return this.seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set noticeSeqNo : 推送序号. NOTICE_SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public void setNoticeSeqNo(String noticeSeqNo){
|
||||
this.noticeSeqNo = noticeSeqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get noticeSeqNo : 推送序号. NOTICE_SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public String getNoticeSeqNo(){
|
||||
return this.noticeSeqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set noticeType : 推送类型. NOTICE_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setNoticeType(String noticeType){
|
||||
this.noticeType = noticeType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get noticeType : 推送类型. NOTICE_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getNoticeType(){
|
||||
return this.noticeType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set reason : 失败原因. REASON: VARCHAR2(255 CHAR)
|
||||
*/
|
||||
public void setReason(String reason){
|
||||
this.reason = reason;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get reason : 失败原因. REASON: VARCHAR2(255 CHAR)
|
||||
*/
|
||||
public String getReason(){
|
||||
return this.reason;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set status : 状态. STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setStatus(String status){
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get status : 状态. STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getStatus(){
|
||||
return this.status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14)
|
||||
*/
|
||||
public void setNextSendTime(String nextSendTime){
|
||||
this.nextSendTime = nextSendTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14)
|
||||
*/
|
||||
public String getNextSendTime(){
|
||||
return this.nextSendTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set sendCount : 发送次数. SEND_COUNT: NUMBER(10)
|
||||
*/
|
||||
public void setSendCount(Long sendCount){
|
||||
this.sendCount = sendCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sendCount : 发送次数. SEND_COUNT: NUMBER(10)
|
||||
*/
|
||||
public Long getSendCount(){
|
||||
return this.sendCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setSendStatus(String sendStatus){
|
||||
this.sendStatus = sendStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getSendStatus(){
|
||||
return this.sendStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setCreateUser(String createUser){
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getCreateUser(){
|
||||
return this.createUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR)
|
||||
*/
|
||||
public void setCreateTime(String createTime){
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR)
|
||||
*/
|
||||
public String getCreateTime(){
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setLstUpdUser(String lstUpdUser){
|
||||
this.lstUpdUser = lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getLstUpdUser(){
|
||||
return this.lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14)
|
||||
*/
|
||||
public void setLstUpdTime(String lstUpdTime){
|
||||
this.lstUpdTime = lstUpdTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14)
|
||||
*/
|
||||
public String getLstUpdTime(){
|
||||
return this.lstUpdTime;
|
||||
}
|
||||
|
||||
public String getMsgContent() {
|
||||
return msgContent;
|
||||
}
|
||||
|
||||
public void setMsgContent(String msgContent) {
|
||||
this.msgContent = msgContent;
|
||||
}
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
/**
|
||||
* NFC推送记录查询对象
|
||||
*/
|
||||
public class NfcTravelNoticeFilter {
|
||||
|
||||
/** seqNo : 序号 */
|
||||
private String seqNo;
|
||||
|
||||
/** orgCode : 机构号 */
|
||||
private String orgCode;
|
||||
|
||||
/** transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR) */
|
||||
private String transType ;
|
||||
|
||||
/** cardNo : 卡号. CARD_NO: VARCHAR2(32 CHAR) */
|
||||
private String cardNo ;
|
||||
|
||||
/** userId : 用户号. USER_ID: VARCHAR2(32 CHAR) */
|
||||
private String userId ;
|
||||
|
||||
/** sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR) */
|
||||
private String sendStatus ;
|
||||
|
||||
/** createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR) */
|
||||
private String createTimeStart ;
|
||||
|
||||
/** createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR) */
|
||||
private String createTimeEnd ;
|
||||
|
||||
/** startTime : 开始时间 */
|
||||
private String stlmStartTime;
|
||||
|
||||
/** endTime : 结束时间 */
|
||||
private String stlmEndTime;
|
||||
|
||||
/** status : 状态 */
|
||||
private String status;
|
||||
|
||||
private String[] statusList;
|
||||
|
||||
public String getOrgCode() {
|
||||
return orgCode;
|
||||
}
|
||||
|
||||
public void setOrgCode(String orgCode) {
|
||||
this.orgCode = orgCode;
|
||||
}
|
||||
|
||||
public String getStlmStartTime() {
|
||||
return stlmStartTime;
|
||||
}
|
||||
|
||||
public void setStlmStartTime(String stlmStartTime) {
|
||||
this.stlmStartTime = stlmStartTime;
|
||||
}
|
||||
|
||||
public String getStlmEndTime() {
|
||||
return stlmEndTime;
|
||||
}
|
||||
|
||||
public void setStlmEndTime(String stlmEndTime) {
|
||||
this.stlmEndTime = stlmEndTime;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String[] getStatusList() {
|
||||
return statusList;
|
||||
}
|
||||
|
||||
public void setStatusList(String[] statusList) {
|
||||
this.statusList = statusList;
|
||||
}
|
||||
|
||||
public String getTransType() {
|
||||
return transType;
|
||||
}
|
||||
|
||||
public void setTransType(String transType) {
|
||||
this.transType = transType;
|
||||
}
|
||||
|
||||
public String getCardNo() {
|
||||
return cardNo;
|
||||
}
|
||||
|
||||
public void setCardNo(String cardNo) {
|
||||
this.cardNo = cardNo;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getSendStatus() {
|
||||
return sendStatus;
|
||||
}
|
||||
|
||||
public void setSendStatus(String sendStatus) {
|
||||
this.sendStatus = sendStatus;
|
||||
}
|
||||
|
||||
public String getCreateTimeStart() {
|
||||
return createTimeStart;
|
||||
}
|
||||
|
||||
public void setCreateTimeStart(String createTimeStart) {
|
||||
this.createTimeStart = createTimeStart;
|
||||
}
|
||||
|
||||
public String getCreateTimeEnd() {
|
||||
return createTimeEnd;
|
||||
}
|
||||
|
||||
public void setCreateTimeEnd(String createTimeEnd) {
|
||||
this.createTimeEnd = createTimeEnd;
|
||||
}
|
||||
|
||||
public String getSeqNo() {
|
||||
return seqNo;
|
||||
}
|
||||
|
||||
public void setSeqNo(String seqNo) {
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
/**
|
||||
* 推送错误记录查询对象
|
||||
*/
|
||||
public class NoticeErrorFilter {
|
||||
|
||||
/** seqNo : 序号. SEQ_NO: VARCHAR2(64 CHAR) */
|
||||
private String seqNo ;
|
||||
|
||||
/** noticeSeqNo : 推送序号. NOTICE_SEQ_NO: VARCHAR2(64 CHAR) */
|
||||
private String noticeSeqNo ;
|
||||
|
||||
/** noticeType : 推送类型. NOTICE_TYPE: VARCHAR2(32 CHAR) */
|
||||
private String noticeType ;
|
||||
|
||||
/** reason : 失败原因. REASON: VARCHAR2(255 CHAR) */
|
||||
private String reason ;
|
||||
|
||||
/** status : 状态. STATUS: VARCHAR2(32 CHAR) */
|
||||
private String status ;
|
||||
|
||||
/** sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR) */
|
||||
private String sendStatus ;
|
||||
|
||||
/** createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR) */
|
||||
private String createTimeStart ;
|
||||
|
||||
/** createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR) */
|
||||
private String createTimeEnd ;
|
||||
|
||||
/** statusList : 状态列表 */
|
||||
private String[] statusList;
|
||||
|
||||
public String getSeqNo() {
|
||||
return seqNo;
|
||||
}
|
||||
|
||||
public void setSeqNo(String seqNo) {
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
public String getNoticeSeqNo() {
|
||||
return noticeSeqNo;
|
||||
}
|
||||
|
||||
public void setNoticeSeqNo(String noticeSeqNo) {
|
||||
this.noticeSeqNo = noticeSeqNo;
|
||||
}
|
||||
|
||||
public String getNoticeType() {
|
||||
return noticeType;
|
||||
}
|
||||
|
||||
public void setNoticeType(String noticeType) {
|
||||
this.noticeType = noticeType;
|
||||
}
|
||||
|
||||
public String getReason() {
|
||||
return reason;
|
||||
}
|
||||
|
||||
public void setReason(String reason) {
|
||||
this.reason = reason;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getSendStatus() {
|
||||
return sendStatus;
|
||||
}
|
||||
|
||||
public void setSendStatus(String sendStatus) {
|
||||
this.sendStatus = sendStatus;
|
||||
}
|
||||
|
||||
public String getCreateTimeStart() {
|
||||
return createTimeStart;
|
||||
}
|
||||
|
||||
public void setCreateTimeStart(String createTimeStart) {
|
||||
this.createTimeStart = createTimeStart;
|
||||
}
|
||||
|
||||
public String getCreateTimeEnd() {
|
||||
return createTimeEnd;
|
||||
}
|
||||
|
||||
public void setCreateTimeEnd(String createTimeEnd) {
|
||||
this.createTimeEnd = createTimeEnd;
|
||||
}
|
||||
|
||||
public String[] getStatusList() {
|
||||
return statusList;
|
||||
}
|
||||
|
||||
public void setStatusList(String[] statusList) {
|
||||
this.statusList = statusList;
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.BaseReqVo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class NoticeErrorPageReqVo extends BaseReqVo implements Serializable {
|
||||
|
||||
/** filter : 查询参数 */
|
||||
private NoticeErrorFilter filter;
|
||||
|
||||
/** pageVo : 分页参数 */
|
||||
private PageVo pageVo;
|
||||
|
||||
public NoticeErrorFilter getFilter() {
|
||||
return filter;
|
||||
}
|
||||
|
||||
public void setFilter(NoticeErrorFilter filter) {
|
||||
this.filter = filter;
|
||||
}
|
||||
|
||||
public PageVo getPageVo() {
|
||||
return pageVo;
|
||||
}
|
||||
|
||||
public void setPageVo(PageVo pageVo) {
|
||||
this.pageVo = pageVo;
|
||||
}
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.BaseRespVo;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 失败消息分页查询返回对象
|
||||
*/
|
||||
public class NoticeErrorPageRespVo extends BaseRespVo implements Serializable {
|
||||
|
||||
/** totalCount : 总条数 */
|
||||
private Long totalCount ;
|
||||
|
||||
/** orderList : 订单列表 */
|
||||
private List<DcNoticeErrorVo> orderList;
|
||||
|
||||
public Long getTotalCount() {
|
||||
return totalCount;
|
||||
}
|
||||
|
||||
public void setTotalCount(Long totalCount) {
|
||||
this.totalCount = totalCount;
|
||||
}
|
||||
|
||||
public List<DcNoticeErrorVo> getOrderList() {
|
||||
return orderList;
|
||||
}
|
||||
|
||||
public void setOrderList(List<DcNoticeErrorVo> orderList) {
|
||||
this.orderList = orderList;
|
||||
}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.BaseReqVo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 重新处理NFC行程推送
|
||||
*/
|
||||
public class NoticeErrorReprocessReqVo extends BaseReqVo implements Serializable {
|
||||
|
||||
/** seqNo : 序号 */
|
||||
private String seqNo;
|
||||
|
||||
public String getSeqNo() {
|
||||
return seqNo;
|
||||
}
|
||||
|
||||
public void setSeqNo(String seqNo) {
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.BaseRespVo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 重新处理NFC行程推送
|
||||
*/
|
||||
public class NoticeErrorReprocessRespVo extends BaseRespVo implements Serializable {
|
||||
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto.console;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class PageVo implements Serializable {
|
||||
|
||||
/** sortType : 排序方式. */
|
||||
private String sortType;
|
||||
|
||||
/** sortField : 排序字段 */
|
||||
private String sortField;
|
||||
|
||||
/** startPage : 开始页码 */
|
||||
private Integer startPage;
|
||||
|
||||
/** pageSize : 每页条数 */
|
||||
private Integer pageSize;
|
||||
|
||||
// -- Extends --
|
||||
/** offset : 偏移量 */
|
||||
private Integer offset;
|
||||
|
||||
/** endline : 末尾行数 */
|
||||
private Integer endline;
|
||||
|
||||
public Integer getStartPage() {
|
||||
return startPage;
|
||||
}
|
||||
|
||||
public void setStartPage(Integer startPage) {
|
||||
this.startPage = startPage;
|
||||
}
|
||||
|
||||
public Integer getPageSize() {
|
||||
return pageSize;
|
||||
}
|
||||
|
||||
public void setPageSize(Integer pageSize) {
|
||||
this.pageSize = pageSize;
|
||||
}
|
||||
|
||||
public String getSortType() {
|
||||
return sortType;
|
||||
}
|
||||
|
||||
public void setSortType(String sortType) {
|
||||
this.sortType = sortType;
|
||||
}
|
||||
|
||||
public String getSortField() {
|
||||
return sortField;
|
||||
}
|
||||
|
||||
public void setSortField(String sortField) {
|
||||
this.sortField = sortField;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getEndline() {
|
||||
return endline;
|
||||
}
|
||||
|
||||
public void setEndline(Integer endline) {
|
||||
this.endline = endline;
|
||||
}
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess;
|
||||
|
||||
import feign.Retryer;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ImportResource;
|
||||
|
||||
@ImportResource({ "classpath:applicationContext.xml" })
|
||||
@EnableDiscoveryClient
|
||||
@EnableFeignClients
|
||||
@SpringBootApplication
|
||||
public class Application {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(Application.class, args);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public Retryer feignRetryer() {
|
||||
return Retryer.NEVER_RETRY;
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.api;
|
||||
|
||||
import com.jiuyv.sptcc.tanph.auth.api.IAuthTanphApi;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
|
||||
@FeignClient("tanph-auth")
|
||||
public interface IAuthTanphFeign extends IAuthTanphApi {
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.common;
|
||||
|
||||
import feign.Feign;
|
||||
import okhttp3.Dispatcher;
|
||||
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
||||
import org.springframework.cloud.openfeign.FeignAutoConfiguration;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* 替换spring boot原有的http发送类
|
||||
* @author it_Zhongpeng
|
||||
*
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass(Feign.class)
|
||||
@AutoConfigureBefore(FeignAutoConfiguration.class)
|
||||
public class FeignOkHttpConfig {
|
||||
|
||||
@Bean
|
||||
public okhttp3.OkHttpClient okHttpClient() {
|
||||
Dispatcher pooledispatcher = new Dispatcher();
|
||||
pooledispatcher.setMaxRequestsPerHost(10000);
|
||||
pooledispatcher.setMaxRequests(10000);
|
||||
return new okhttp3.OkHttpClient.Builder().dispatcher(pooledispatcher).build();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.common.database;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ExtData<T> {
|
||||
|
||||
private boolean success;
|
||||
|
||||
private Long totalCount;
|
||||
|
||||
private List<T> dataList;
|
||||
|
||||
public ExtData(boolean success, Long totalCount, List<T> dataList) {
|
||||
this.success = success;
|
||||
this.totalCount = totalCount;
|
||||
this.dataList = dataList;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the success
|
||||
*/
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param success the success to set
|
||||
*/
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return the totalCount
|
||||
*/
|
||||
public Long getTotalCount() {
|
||||
return totalCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param totalCount the totalCount to set
|
||||
*/
|
||||
public void setTotalCount(Long totalCount) {
|
||||
this.totalCount = totalCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the dataList
|
||||
*/
|
||||
public List<T> getDataList() {
|
||||
return dataList;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param dataList the dataList to set
|
||||
*/
|
||||
public void setDataList(List<T> dataList) {
|
||||
this.dataList = dataList;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
/*
|
||||
* Created on 2008-11-4
|
||||
*
|
||||
* 基础异常类
|
||||
*/
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.common.database.exception;
|
||||
|
||||
/**
|
||||
* 基础异常.
|
||||
*
|
||||
* @author jiuyv
|
||||
* @since 2013-12-19 15:36:26
|
||||
* @version 1.0.0
|
||||
*/
|
||||
public class BaseException extends Exception {
|
||||
|
||||
/** The Constant serialVersionUID. */
|
||||
private static final long serialVersionUID = -2856575469726587413L;
|
||||
|
||||
/** 错误结果代码. */
|
||||
private String errorCode;
|
||||
|
||||
/** 错误信息. */
|
||||
private String errorMessage;
|
||||
|
||||
/**
|
||||
* 构造函数.
|
||||
*
|
||||
* @param errorCode 错误代码
|
||||
* @param throwable Throwable
|
||||
*/
|
||||
public BaseException(String errorCode, Throwable throwable) {
|
||||
super(throwable.getMessage());
|
||||
this.errorCode = errorCode;
|
||||
this.errorMessage = throwable.getMessage();
|
||||
}
|
||||
|
||||
/**
|
||||
* 构造函数.
|
||||
*
|
||||
* @param errorCode 错误代码
|
||||
* @param errorMessage 错误信息
|
||||
*/
|
||||
public BaseException(String errorCode, String errorMessage) {
|
||||
super(errorMessage);
|
||||
this.errorCode = errorCode;
|
||||
this.errorMessage = errorMessage;
|
||||
}
|
||||
|
||||
/**
|
||||
* 构造函数.
|
||||
*
|
||||
* @param errorCode 错误代码
|
||||
* @param errorMessage 错误信息
|
||||
* @param throwable the throwable
|
||||
*/
|
||||
public BaseException(String errorCode, String errorMessage,
|
||||
Throwable throwable) {
|
||||
super(errorMessage, throwable);
|
||||
this.errorCode = errorCode;
|
||||
this.errorMessage = errorMessage;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the errorCode
|
||||
Get 错误结果代码.
|
||||
*/
|
||||
public String getErrorCode() {
|
||||
return errorCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param errorCode the errorCode to set
|
||||
Set 错误结果代码.
|
||||
*/
|
||||
public void setErrorCode(String errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the errorMessage
|
||||
Get 错误信息.
|
||||
*/
|
||||
public String getErrorMessage() {
|
||||
return errorMessage;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param errorMessage the errorMessage to set
|
||||
Set 错误信息.
|
||||
*/
|
||||
public void setErrorMessage(String errorMessage) {
|
||||
this.errorMessage = errorMessage;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,116 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.common.util;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude.Include;
|
||||
import com.fasterxml.jackson.databind.DeserializationFeature;
|
||||
import com.fasterxml.jackson.databind.JavaType;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import org.json.JSONObject;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* The Class JsonUtil.
|
||||
*
|
||||
* @author jiuyv
|
||||
* @version 1.0.0
|
||||
* @since 2016-12-6
|
||||
*/
|
||||
public abstract class JsonUtil {
|
||||
|
||||
private static String[] hiddenField = {"idNo", "bindCard", "tAcNo", "bankCardNo", "TAcNo", "BankCardNo", "BindCard", "IdNo", "idPaSideNo", "idPbSideNo", "photoFrontNo", "photoBackNo", "photoHoldNo"};
|
||||
|
||||
/** The Constant LOGGER. */
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(JsonUtil.class);
|
||||
|
||||
/** The object mapper. */
|
||||
private static ObjectMapper objectMapper = new ObjectMapper();
|
||||
|
||||
static {
|
||||
objectMapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
|
||||
objectMapper.setSerializationInclusion(Include.NON_NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert to json.
|
||||
*
|
||||
* @param object the object
|
||||
* @return the string
|
||||
*/
|
||||
public static String convertToJson( Object object ) {
|
||||
try {
|
||||
return objectMapper.writeValueAsString(object);
|
||||
} catch (Exception e) {
|
||||
LOGGER.error("convert failed", e);
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
public static <T> T json2Bean(String json, Class<T> T) {
|
||||
try {
|
||||
T obj = objectMapper.readValue(json, T);
|
||||
return obj;
|
||||
} catch (Exception e) {
|
||||
LOGGER.error("convert failed", e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static <T> List<T> json2List(String json, Class<T> T) {
|
||||
JavaType javaType = getCollectionType(ArrayList.class, T);
|
||||
List<T> lst;
|
||||
try {
|
||||
lst = objectMapper.readValue(json, javaType);
|
||||
} catch (Exception e) {
|
||||
LOGGER.error("convert failed", e);
|
||||
return null;
|
||||
}
|
||||
return lst;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取泛型的Collection Type
|
||||
* @param collectionClass 泛型的Collection
|
||||
* @param elementClasses 元素类
|
||||
* @return JavaType Java类型
|
||||
* @since 1.0
|
||||
*/
|
||||
public static JavaType getCollectionType(Class<?> collectionClass, Class<?>... elementClasses) {
|
||||
return objectMapper.getTypeFactory().constructParametricType(collectionClass, elementClasses);
|
||||
}
|
||||
|
||||
/**
|
||||
* 输出打印日志对象json
|
||||
* 屏蔽指定域
|
||||
* @param obj the object
|
||||
* @param hiddenField 需隐藏的域
|
||||
* @return the string
|
||||
*/
|
||||
public static String convertToLogJson(Object obj, String[] hiddenField) {
|
||||
try {
|
||||
JSONObject json = new JSONObject(convertToJson(obj));
|
||||
for(String hd:hiddenField){
|
||||
if(!json.isNull(hd)){//如果不为空才隐藏
|
||||
json.put(hd,"************");
|
||||
}
|
||||
}
|
||||
return json.toString();
|
||||
} catch (Exception e) {
|
||||
LOGGER.error("convert failed", e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 输出打印日志对象json
|
||||
* 屏蔽默认域
|
||||
* @param obj the object
|
||||
* @return the string
|
||||
*/
|
||||
public static String convertToLogJson(Object obj) {
|
||||
return convertToLogJson(obj, hiddenField);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.common.util;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.common.Constant;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
|
||||
/**
|
||||
* 锁定工具类
|
||||
* @author jiuyv
|
||||
*
|
||||
*/
|
||||
public class LockUtil {
|
||||
|
||||
private static final String YYYYMMDDHHMMSSNOMARK = "yyyyMMddHHmmss";
|
||||
|
||||
/**
|
||||
* 判断是否上锁以及锁是否过期
|
||||
* @param lock 是否上锁
|
||||
* @param lockTime 上锁时间
|
||||
* @param sysTime 现在时间
|
||||
* @param lockLoser 上锁持续时间
|
||||
* @return 是否上锁
|
||||
*/
|
||||
public static boolean lockTimeLoser(String lock, String lockTime, String sysTime, long lockLoser) {
|
||||
// 没上锁就返回false
|
||||
if (Constant.TxnLock.N.equals(lock)) {
|
||||
return false;
|
||||
}
|
||||
// 或者锁已经过期了也返回false
|
||||
return !LocalDateTime.parse(sysTime,
|
||||
DateTimeFormatter.ofPattern(YYYYMMDDHHMMSSNOMARK)).isAfter(LocalDateTime.parse(lockTime,
|
||||
DateTimeFormatter.ofPattern(YYYYMMDDHHMMSSNOMARK)).plusSeconds(lockLoser));
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询是否持有锁
|
||||
* @param lock 锁
|
||||
* @param lockTime 锁时间
|
||||
* @param threadLockTime 线程锁时间
|
||||
* @return 是否持有锁
|
||||
*/
|
||||
public static boolean isOwnedLock(String lock, String lockTime, String threadLockTime) {
|
||||
// 如果没上锁或者锁时间变了,代表有其他线程在锁过期后进行了处理,本线程返回结果未知
|
||||
if (!Constant.TxnLock.Y.equals(lock) || !lockTime.equals(threadLockTime)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,83 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.common.util;
|
||||
|
||||
import org.bouncycastle.crypto.digests.SM3Digest;
|
||||
import org.bouncycastle.crypto.macs.HMac;
|
||||
import org.bouncycastle.crypto.params.KeyParameter;
|
||||
import org.bouncycastle.jce.provider.BouncyCastleProvider;
|
||||
import org.bouncycastle.pqc.math.linearalgebra.ByteUtils;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.security.Security;
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* Created with IntelliJ IDEA.
|
||||
*
|
||||
* @author Shawffer
|
||||
* @description:
|
||||
* @date: 2022-07-19
|
||||
* @time: 17:35
|
||||
*/
|
||||
public class Sm3Util {
|
||||
|
||||
static {
|
||||
Security.addProvider(new BouncyCastleProvider());
|
||||
}
|
||||
|
||||
private static final String ENCODING = "UTF-8";
|
||||
|
||||
/**
|
||||
* 无密钥加密
|
||||
* @param text
|
||||
* @return
|
||||
*/
|
||||
public static String encrypt(String text) throws UnsupportedEncodingException {
|
||||
String resultHexStr = "";
|
||||
byte[] srcData = text.getBytes(ENCODING);
|
||||
byte[] resultHash = hash(srcData);
|
||||
resultHexStr = ByteUtils.toHexString(resultHash);
|
||||
return resultHexStr;
|
||||
}
|
||||
|
||||
public static byte[] hash(byte[] srcData){
|
||||
SM3Digest digest = new SM3Digest();
|
||||
digest.update(srcData, 0, srcData.length);
|
||||
byte[] hash = new byte[digest.getDigestSize()];
|
||||
digest.doFinal(hash, 0);
|
||||
return hash;
|
||||
}
|
||||
|
||||
/**
|
||||
* 有密钥加密
|
||||
* @param key
|
||||
* @param srcData
|
||||
* @return
|
||||
*/
|
||||
public static byte[] hmac(byte[] key, byte[] srcData){
|
||||
KeyParameter keyParameter = new KeyParameter(key);
|
||||
SM3Digest digest = new SM3Digest();
|
||||
HMac mac = new HMac(digest);
|
||||
mac.init(keyParameter);
|
||||
mac.update(srcData, 0, srcData.length);
|
||||
byte[] result = new byte[mac.getMacSize()];
|
||||
mac.doFinal(result, 0);
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 校验
|
||||
* @param srcStr
|
||||
* @param sm3HexString
|
||||
* @return
|
||||
* @throws UnsupportedEncodingException
|
||||
*/
|
||||
public static boolean verify(String srcStr, String sm3HexString) throws UnsupportedEncodingException {
|
||||
boolean flag;
|
||||
byte[] srcData = srcStr.getBytes(ENCODING);
|
||||
byte[] sm3Hash = ByteUtils.fromHexString(sm3HexString);
|
||||
byte[] newHash = hash(srcData);
|
||||
flag = Arrays.equals(sm3Hash, newHash);
|
||||
return flag;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.common.util;
|
||||
|
||||
import com.fasterxml.uuid.EthernetAddress;
|
||||
import com.fasterxml.uuid.Generators;
|
||||
import com.fasterxml.uuid.impl.TimeBasedGenerator;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
public class UUIDUtil {
|
||||
//修改成constructMulticastAddress ,防止jmv多个实例在一台服务器上
|
||||
private static TimeBasedGenerator uuidGenerator = Generators.timeBasedGenerator(EthernetAddress.constructMulticastAddress());
|
||||
// need to pass Ethernet address; can either use real one (shown here)
|
||||
public static UUID getTimebaseUUID(){
|
||||
// or bogus which would be gotten with: EthernetAddress.constructMulticastAddress()
|
||||
|
||||
// also: we don't specify synchronizer, getting an intra-JVM syncer; there is
|
||||
// also external file-locking-based synchronizer if multiple JVMs run JUG
|
||||
return uuidGenerator.generate();
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.config;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @Description: ftp配置类
|
||||
* @author shu_k
|
||||
* @date 2021年9月3日 下午2:45:46
|
||||
*/
|
||||
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "bc-travel.acct.sftp")
|
||||
public class AcctSftpConfig extends SFtpConfig {
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.config;
|
||||
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
|
||||
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
|
||||
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
|
||||
|
||||
@Configuration
|
||||
@EnableWebSecurity
|
||||
public class ActuatorSecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
|
||||
@Autowired
|
||||
Environment env;
|
||||
|
||||
@Override
|
||||
protected void configure(HttpSecurity security) throws Exception {
|
||||
|
||||
String contextPath = env.getProperty("management.endpoints.web.base-path");
|
||||
if(StringUtils.isEmpty(contextPath)) {
|
||||
contextPath = "/actuator";
|
||||
}
|
||||
security.csrf().disable();
|
||||
security.authorizeRequests()
|
||||
.antMatchers("/**"+contextPath+"/serviceregistry","/**"+contextPath+"/refresh")
|
||||
.access("hasIpAddress(\"127.0.0.1\")")
|
||||
.antMatchers("/**"+contextPath+"/**")
|
||||
.authenticated()
|
||||
.anyRequest()
|
||||
.permitAll()
|
||||
.and()
|
||||
.httpBasic();
|
||||
}
|
||||
}
|
@ -0,0 +1,150 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.config;
|
||||
|
||||
import com.google.common.base.Charsets;
|
||||
import com.google.common.hash.BloomFilter;
|
||||
import com.google.common.hash.Funnels;
|
||||
import com.jiuyv.spring.starter.bloomfilter.v2.filter.FilterInstance;
|
||||
import com.jiuyv.spring.starter.bloomfilter.v2.filter.IFilterConfig;
|
||||
import com.jiuyv.sptcc.tanph.auth.entity.CommonRequestVO;
|
||||
import com.jiuyv.sptcc.tanph.auth.entity.auth.api.tanph.AuthSearchForQRFilterRequestVo;
|
||||
import com.jiuyv.sptcc.tanph.auth.entity.auth.api.tanph.AuthSearchForQRFilterResponseVo;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.api.IAuthTanphFeign;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.common.Constant;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.common.util.DateUtil;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.common.util.JsonUtil;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.common.util.UUIDUtil;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.AuthInfo;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.service.ISysCommonService;
|
||||
import feign.Response;
|
||||
import org.apache.http.HttpStatus;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.time.temporal.ChronoUnit;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created with IntelliJ IDEA.
|
||||
*
|
||||
* @author zsd
|
||||
* @description:
|
||||
* @date: 2022-09-09
|
||||
* @time: 15:46
|
||||
*/
|
||||
@Component
|
||||
public class BcTravelAuthFilterConfig implements IFilterConfig {
|
||||
|
||||
public static final String FILTER_NAME = "BC_TRAVEL_AUTH";
|
||||
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(BcTravelAuthFilterConfig.class);
|
||||
|
||||
private static final Long DEFAULT_EXPECTED = 100000000L;
|
||||
|
||||
private Long expectedInsertions = DEFAULT_EXPECTED;
|
||||
|
||||
@Autowired
|
||||
private IAuthTanphFeign authService;
|
||||
|
||||
@Autowired
|
||||
private ISysCommonService sysCommonService;
|
||||
|
||||
public BcTravelAuthFilterConfig() {
|
||||
}
|
||||
|
||||
public BcTravelAuthFilterConfig(Long expectedInsertions) {
|
||||
if (expectedInsertions != null) {
|
||||
this.expectedInsertions = expectedInsertions;
|
||||
} else {
|
||||
this.expectedInsertions = DEFAULT_EXPECTED;
|
||||
}
|
||||
}
|
||||
|
||||
// /**
|
||||
// * 每日00:01 a.m. 触发
|
||||
// * 每日重建filter用 重建频率
|
||||
// *
|
||||
// * @return
|
||||
// */
|
||||
// @Override
|
||||
// public String cronForRebuild() {
|
||||
// return "*/30 * * * * ?";
|
||||
// }
|
||||
|
||||
@Override
|
||||
public Long expectedInsertions() {
|
||||
return this.expectedInsertions;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String filterName() {
|
||||
return FILTER_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fetchAllDate(FilterInstance instance) {
|
||||
try {
|
||||
CommonRequestVO commonRequestVO = new CommonRequestVO();
|
||||
commonRequestVO.setOrgCode(Constant.OrgCode.TANPH);
|
||||
commonRequestVO.setReqId(UUIDUtil.getTimebaseUUID().toString());
|
||||
commonRequestVO.setReqTime(DateUtil.getDateTime());
|
||||
LOGGER.info("bloomfilter 全量更新调用接口");
|
||||
Response response = authService.syncListSearchForFullQRFilter(commonRequestVO);
|
||||
if (response.status() == HttpStatus.SC_OK) {
|
||||
instance.putAll(FilterInstance.buildInstanceWithData(this, BloomFilter.readFrom(response.body().asInputStream(), Funnels.stringFunnel(Charsets.UTF_8))));
|
||||
} else {
|
||||
LOGGER.error("get response status error, status:{}", response.status());
|
||||
throw new Exception("bloomfilter 获取远端调用返回失败");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
LOGGER.info("获取全量更新数据失败", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fetchIncrementData(FilterInstance instance, ChronoUnit timeUnit, Long interval) {
|
||||
String nowTime = sysCommonService.selectSysCurrentTime();
|
||||
String startTime = DateUtil.getForwardTime(nowTime, timeUnit, interval);
|
||||
AuthSearchForQRFilterRequestVo authSearchForQRFilterRequestVo = new AuthSearchForQRFilterRequestVo();
|
||||
authSearchForQRFilterRequestVo.setResourceId(Constant.ResourceId.BC_TRAVEL);
|
||||
authSearchForQRFilterRequestVo.setSyncEndTime(nowTime);
|
||||
authSearchForQRFilterRequestVo.setSyncStartTime(startTime);
|
||||
authSearchForQRFilterRequestVo.setOrgCode(Constant.OrgCode.TANPH);
|
||||
authSearchForQRFilterRequestVo.setReqId(UUIDUtil.getTimebaseUUID().toString());
|
||||
authSearchForQRFilterRequestVo.setReqTime(nowTime);
|
||||
LOGGER.info("bloomfilter 增量更新调用接口");
|
||||
AuthSearchForQRFilterResponseVo respVo = authService.authListSearchForQRFilter(authSearchForQRFilterRequestVo);
|
||||
List<String> list = respVo.getUserIdList();
|
||||
LOGGER.info("bloomfilter 增量数据获取成功"+ JsonUtil.convertToJson(respVo));
|
||||
for (String s : list) {
|
||||
instance.put(s);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object filterNotPassDefaultReturn(Object firstReqParams) {
|
||||
return new AuthInfo();
|
||||
}
|
||||
|
||||
// @Override
|
||||
// public String cronForRefresh() {
|
||||
// return "*/10 * * * * ?";
|
||||
// }
|
||||
|
||||
@Override
|
||||
public String cronForRefresh() {
|
||||
return "0 0/5 * * * *";
|
||||
}
|
||||
|
||||
@Override
|
||||
public ChronoUnit fetchIncrementIntervalTimeUnit() {
|
||||
return ChronoUnit.MINUTES;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long fetchIncrementIntervalInterval() {
|
||||
return 20;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.config;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @Description: ftp配置类
|
||||
* @author shu_k
|
||||
* @date 2021年9月3日 下午2:45:46
|
||||
*/
|
||||
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "bc-travel.data-center.sftp")
|
||||
public class DataCenterSftpConfig extends SFtpConfig {
|
||||
|
||||
}
|
@ -0,0 +1,126 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.config;
|
||||
|
||||
/**
|
||||
* @Description: sftp配置类
|
||||
* @author shu_k
|
||||
* @date 2021年9月3日 下午2:45:46
|
||||
*/
|
||||
|
||||
public class SFtpConfig {
|
||||
|
||||
/**
|
||||
* IP
|
||||
*/
|
||||
private String host;
|
||||
/**
|
||||
* 端口
|
||||
*/
|
||||
private Integer port;
|
||||
|
||||
/**
|
||||
* 账号
|
||||
*/
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* 远端路径
|
||||
*/
|
||||
private String remoteDir;
|
||||
|
||||
/**
|
||||
* 本地路径
|
||||
*/
|
||||
private String localDir;
|
||||
|
||||
/**
|
||||
* 协议
|
||||
*/
|
||||
private String protocol;
|
||||
|
||||
/**
|
||||
* session连接超时时间
|
||||
*/
|
||||
private Integer sessionConnectTimeout;
|
||||
|
||||
/**
|
||||
* channel连接超时时间
|
||||
*/
|
||||
private Integer channelConnectedTimeout;
|
||||
|
||||
public String getHost() {
|
||||
return host;
|
||||
}
|
||||
|
||||
public void setHost(String host) {
|
||||
this.host = host;
|
||||
}
|
||||
|
||||
public Integer getPort() {
|
||||
return port;
|
||||
}
|
||||
|
||||
public void setPort(Integer port) {
|
||||
this.port = port;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getProtocol() {
|
||||
return protocol;
|
||||
}
|
||||
|
||||
public void setProtocol(String protocol) {
|
||||
this.protocol = protocol;
|
||||
}
|
||||
|
||||
public Integer getSessionConnectTimeout() {
|
||||
return sessionConnectTimeout;
|
||||
}
|
||||
|
||||
public void setSessionConnectTimeout(Integer sessionConnectTimeout) {
|
||||
this.sessionConnectTimeout = sessionConnectTimeout;
|
||||
}
|
||||
|
||||
public Integer getChannelConnectedTimeout() {
|
||||
return channelConnectedTimeout;
|
||||
}
|
||||
|
||||
public void setChannelConnectedTimeout(Integer channelConnectedTimeout) {
|
||||
this.channelConnectedTimeout = channelConnectedTimeout;
|
||||
}
|
||||
|
||||
public String getRemoteDir() {
|
||||
return remoteDir;
|
||||
}
|
||||
|
||||
public void setRemoteDir(String remoteDir) {
|
||||
this.remoteDir = remoteDir;
|
||||
}
|
||||
|
||||
public String getLocalDir() {
|
||||
return localDir;
|
||||
}
|
||||
|
||||
public void setLocalDir(String localDir) {
|
||||
this.localDir = localDir;
|
||||
}
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.config;
|
||||
|
||||
import com.xxl.job.core.executor.impl.XxlJobSpringExecutor;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* xxl-job config
|
||||
*
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnProperty(prefix="xxl", name="enable", havingValue = "true")
|
||||
public class XxlJobConfig {
|
||||
private Logger logger = LoggerFactory.getLogger(XxlJobConfig.class);
|
||||
|
||||
@Value("${xxl.job.admin.addresses}")
|
||||
private String adminAddresses;
|
||||
|
||||
@Value("${xxl.job.executor.appname}")
|
||||
private String appName;
|
||||
|
||||
@Value("${xxl.job.executor.ip}")
|
||||
private String ip;
|
||||
|
||||
@Value("${xxl.job.executor.port}")
|
||||
private int port;
|
||||
|
||||
@Value("${xxl.job.accessToken}")
|
||||
private String accessToken;
|
||||
|
||||
@Value("${xxl.job.executor.logpath}")
|
||||
private String logPath;
|
||||
|
||||
@Value("${xxl.job.executor.logretentiondays}")
|
||||
private int logRetentionDays;
|
||||
|
||||
|
||||
@Bean(initMethod = "start", destroyMethod = "destroy")
|
||||
public XxlJobSpringExecutor xxlJobExecutor() {
|
||||
logger.info(">>>>>>>>>>> xxl-job config init.");
|
||||
XxlJobSpringExecutor xxlJobSpringExecutor = new XxlJobSpringExecutor();
|
||||
xxlJobSpringExecutor.setAdminAddresses(adminAddresses);
|
||||
xxlJobSpringExecutor.setAppname(appName);
|
||||
xxlJobSpringExecutor.setIp(ip);
|
||||
xxlJobSpringExecutor.setPort(port);
|
||||
xxlJobSpringExecutor.setAccessToken(accessToken);
|
||||
xxlJobSpringExecutor.setLogPath(logPath);
|
||||
xxlJobSpringExecutor.setLogRetentionDays(logRetentionDays);
|
||||
return xxlJobSpringExecutor;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.controller;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.api.IDataProcessBatchConsoleApi;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.common.util.JsonUtil;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.console.*;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.plugin.IProcess;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class DataProcessBatchConsoleController implements IDataProcessBatchConsoleApi {
|
||||
|
||||
/** The Constant LOGGER. */
|
||||
private static final Logger LOGGER = LoggerFactory
|
||||
.getLogger(DataProcessBatchConsoleController.class);
|
||||
|
||||
/** 二维码行程通知分页查询process */
|
||||
@Autowired
|
||||
private IProcess<BcTravelNoticePageReqVo, BcTravelNoticePageRespVo> bcTravelNoticePageProcess;
|
||||
|
||||
/** 失败消息分页查询process */
|
||||
@Autowired
|
||||
private IProcess<NoticeErrorPageReqVo, NoticeErrorPageRespVo> noticeErrorPageProcess;
|
||||
|
||||
/** 二维码行程推送重新处理process */
|
||||
@Autowired
|
||||
private IProcess<BcTravelNoticeReprocessReqVo, BcTravelNoticeReprocessRespVo> bcTravelNoticeReprocess;
|
||||
|
||||
/** 失败消息重新处理process */
|
||||
@Autowired
|
||||
private IProcess<NoticeErrorReprocessReqVo, NoticeErrorReprocessRespVo> noticeErrorReprocess;
|
||||
|
||||
/**
|
||||
* 二维码行程推送分页查询
|
||||
* @param req 请求对象
|
||||
* @return 返回对象
|
||||
*/
|
||||
@Override
|
||||
public BcTravelNoticePageRespVo bcTravelNoticePage(@RequestBody BcTravelNoticePageReqVo req) {
|
||||
LOGGER.info("BcTravelNoticePage start...");
|
||||
LOGGER.info("BcTravelNoticePage req:[{}]" , JsonUtil.convertToLogJson(req));
|
||||
BcTravelNoticePageRespVo resp = bcTravelNoticePageProcess.process(req);
|
||||
LOGGER.info("BcTravelNoticePage resp code:[{}], totalCount [{}]" , resp.getRespCode(), resp.getTotalCount());
|
||||
LOGGER.info("BcTravelNoticePage end...");
|
||||
return resp;
|
||||
}
|
||||
|
||||
/**
|
||||
* 失败消息分页查询
|
||||
* @param req 请求对象
|
||||
* @return 返回对象
|
||||
*/
|
||||
@Override
|
||||
public NoticeErrorPageRespVo noticeErrorPage(@RequestBody NoticeErrorPageReqVo req) {
|
||||
LOGGER.info("noticeErrorPage start...");
|
||||
LOGGER.info("noticeErrorPage req:[{}]" , JsonUtil.convertToLogJson(req));
|
||||
NoticeErrorPageRespVo resp = noticeErrorPageProcess.process(req);
|
||||
LOGGER.info("noticeErrorPage resp code:[{}], totalCount [{}]" , resp.getRespCode(), resp.getTotalCount());
|
||||
LOGGER.info("noticeErrorPage end...");
|
||||
return resp;
|
||||
}
|
||||
|
||||
/**
|
||||
* 二维码行程推送重新处理
|
||||
* @param req 请求对象
|
||||
* @return 返回对象
|
||||
*/
|
||||
@Override
|
||||
public BcTravelNoticeReprocessRespVo bcTravelNoticeReprocess(@RequestBody BcTravelNoticeReprocessReqVo req) {
|
||||
LOGGER.info("BcTravelNoticeReprocess start...");
|
||||
LOGGER.info("BcTravelNoticeReprocess req:[{}]" , JsonUtil.convertToLogJson(req));
|
||||
BcTravelNoticeReprocessRespVo resp = bcTravelNoticeReprocess.process(req);
|
||||
LOGGER.info("BcTravelNoticeReprocess resp:[{}]" ,JsonUtil.convertToLogJson(resp));
|
||||
LOGGER.info("BcTravelNoticeReprocess end...");
|
||||
return resp;
|
||||
}
|
||||
|
||||
/**
|
||||
* 失败消息重新处理
|
||||
* @param req 请求对象
|
||||
* @return 返回对象
|
||||
*/
|
||||
@Override
|
||||
public NoticeErrorReprocessRespVo noticeErrorReprocess(@RequestBody NoticeErrorReprocessReqVo req) {
|
||||
LOGGER.info("noticeErrorReprocess start...");
|
||||
LOGGER.info("noticeErrorReprocess req:[{}]" , JsonUtil.convertToLogJson(req));
|
||||
NoticeErrorReprocessRespVo resp = noticeErrorReprocess.process(req);
|
||||
LOGGER.info("noticeErrorReprocess resp:[{}]" ,JsonUtil.convertToLogJson(resp));
|
||||
LOGGER.info("noticeErrorReprocess end...");
|
||||
return resp;
|
||||
}
|
||||
}
|
@ -0,0 +1,176 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.controller;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.common.Constant;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.common.database.exception.BaseException;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.common.util.DateUtil;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.common.validate.BizCheck;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.AuthInfo;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.DcBcTravelNoticeVo;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.service.IBloomFilterService;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.service.IDcBcTravelNoticeService;
|
||||
import org.apache.commons.collections.MapUtils;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@Component
|
||||
public class DataProcessController {
|
||||
|
||||
/**
|
||||
* LOGGER
|
||||
*/
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(DataProcessController.class);
|
||||
|
||||
private static final Map<String, String> BUSINESS_CODE_MAP = new HashMap<>();
|
||||
|
||||
static {
|
||||
BUSINESS_CODE_MAP.put(Constant.QrCodeTravelTransType.BUS, Constant.BcTravelTransType.BUS);
|
||||
BUSINESS_CODE_MAP.put(Constant.QrCodeTravelTransType.SUBWAY, Constant.BcTravelTransType.SUBWAY);
|
||||
BUSINESS_CODE_MAP.put(Constant.QrCodeTravelTransType.RAILWAY, Constant.BcTravelTransType.RAILWAY);
|
||||
BUSINESS_CODE_MAP.put(Constant.QrCodeTravelTransType.MAGLEV, Constant.BcTravelTransType.MAGLEV);
|
||||
}
|
||||
|
||||
private static final DateTimeFormatter sdf = DateTimeFormatter.ofPattern(DateUtil.DATE_14);
|
||||
|
||||
private static final DateTimeFormatter sdf_c = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
||||
|
||||
/** 错误数据service */
|
||||
@Autowired
|
||||
private IDcBcTravelNoticeService service;
|
||||
|
||||
@Autowired
|
||||
private IBloomFilterService bloomFilterService;
|
||||
|
||||
/**
|
||||
* 处理消息体
|
||||
* @param oriMsg 消息体内容
|
||||
* @throws BaseException 异常
|
||||
*/
|
||||
public void processMsg(String oriMsg) throws BaseException {
|
||||
// LOGGER.info("recevie msg: [{}]", oriMsg);
|
||||
if (StringUtils.isEmpty(oriMsg)) {
|
||||
return;
|
||||
}
|
||||
// 消息转推送对象
|
||||
DcBcTravelNoticeVo travel = convert2Notice(oriMsg);
|
||||
try {
|
||||
// 数据完整性校验
|
||||
checkData(travel);
|
||||
} catch (BaseException e) {
|
||||
LOGGER.info("bcTravel checkData error: [{}], [{}]", e.getErrorCode(), e.getErrorMessage());
|
||||
return;
|
||||
}
|
||||
// 获取授权机构号userToken
|
||||
AuthInfo authInfo = bloomFilterService.getBcAuthByUser(travel.getUserId(), travel.getInTransTime());
|
||||
// 未授权
|
||||
if (authInfo == null || MapUtils.isEmpty(authInfo.getUserTokens())) {
|
||||
// LOGGER.info("not authed...");
|
||||
// 无需重试,记录日志即可,不记录失败表
|
||||
return;
|
||||
}
|
||||
travel = setUserTokens(travel, authInfo);
|
||||
// 新增记录
|
||||
service.doInsert(travel);
|
||||
// 处理数据
|
||||
// ResultBean<DcBcTravelNoticeVo> rb = bcTravelNoticeProcess.process(travel);
|
||||
// LOGGER.info("travel process result: [{}], respCode:[{}], respMessage:[{}]", rb.isSuccess(), rb.getRespCode(), rb.getRespMessage());
|
||||
}
|
||||
|
||||
/**
|
||||
* 文件内容转换为推送记录
|
||||
* @param msg 文本内容
|
||||
* @return 推送对象
|
||||
*/
|
||||
private DcBcTravelNoticeVo convert2Notice(String msg) {
|
||||
String[] dataFields = msg.split(",");
|
||||
DcBcTravelNoticeVo notice = new DcBcTravelNoticeVo();
|
||||
// 行程单号,中台自己生成的
|
||||
notice.setTravelNo(getFieldValue(dataFields[0]));
|
||||
// 行业类型转换
|
||||
notice.setTransType(BUSINESS_CODE_MAP.getOrDefault(getFieldValue(dataFields[1]), getFieldValue(dataFields[1])));
|
||||
// 交通卡用户号
|
||||
notice.setUserId(getFieldValue(dataFields[2]));
|
||||
// 进战站点号
|
||||
notice.setInStationId(getFieldValue(dataFields[3]));
|
||||
// 出战站点号
|
||||
notice.setOutStationId(getFieldValue(dataFields[4]));
|
||||
// 拉码渠道
|
||||
notice.setBcChannel(getFieldValue(dataFields[5]));
|
||||
// 交易时间 格式转换 数据中台是
|
||||
if (StringUtils.isNotBlank(getFieldValue(dataFields[6]))) {
|
||||
notice.setInTransTime(LocalDateTime.parse(getFieldValue(dataFields[6]), sdf_c).format(sdf));
|
||||
}
|
||||
return notice;
|
||||
}
|
||||
|
||||
/**
|
||||
* 数据完整性校验
|
||||
* @param req 行程对象
|
||||
*/
|
||||
private void checkData(DcBcTravelNoticeVo req) throws BaseException {
|
||||
// 卡号、时间、交易类型
|
||||
BizCheck.notBlank(req.getUserId(), Constant.RespCode.INPUT_NOT_VALID, Constant.RespMsg.USER_IS_NULL);
|
||||
BizCheck.notBlank(req.getInTransTime(), Constant.RespCode.INPUT_NOT_VALID, Constant.RespMsg.INTIME_IS_NULL);
|
||||
BizCheck.notBlank(req.getTransType(), Constant.RespCode.INPUT_NOT_VALID, Constant.RespMsg.TRANSTYPE_IS_NULL);
|
||||
// 业务类型过滤
|
||||
if (!Constant.BcTravelTransType.BUS.equals(req.getTransType())
|
||||
&& !Constant.BcTravelTransType.SUBWAY.equals(req.getTransType())) {
|
||||
throw new BaseException(Constant.RespCode.INPUT_NOT_VALID, Constant.RespMsg.TRANSTYPE_NOT_SUPPORT);
|
||||
}
|
||||
// 地铁需要判断出入站信息是否完整
|
||||
if (Constant.BcTravelTransType.SUBWAY.equals(req.getTransType())) {
|
||||
BizCheck.notBlank(req.getInStationId(), Constant.RespCode.INPUT_NOT_VALID, Constant.RespMsg.CARD_IS_NULL);
|
||||
BizCheck.notBlank(req.getOutStationId(), Constant.RespCode.INPUT_NOT_VALID, Constant.RespMsg.INTIME_IS_NULL);
|
||||
if (req.getInStationId().equals(req.getOutStationId())) {
|
||||
throw new BaseException(Constant.RespCode.INPUT_NOT_VALID, Constant.RespMsg.SAME_STATION);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置授权信息和其他信息
|
||||
* @param vo 行程
|
||||
* @param auth 卡授权信息
|
||||
* @return 行程
|
||||
*/
|
||||
private DcBcTravelNoticeVo setUserTokens(DcBcTravelNoticeVo vo, AuthInfo auth) {
|
||||
Map<String, String> userTokenMap = auth.getUserTokens();
|
||||
StringBuffer firstChannels = new StringBuffer();
|
||||
StringBuffer secondChannels = new StringBuffer();
|
||||
StringBuffer userTokens = new StringBuffer();
|
||||
for (Map.Entry<String, String> entry : userTokenMap.entrySet()) {
|
||||
String key = entry.getKey();
|
||||
String[] channels = key.split("_");
|
||||
String value = entry.getValue();
|
||||
firstChannels.append(channels[0]).append(",");
|
||||
secondChannels.append(channels[1]).append(",");
|
||||
userTokens.append(value).append(",");
|
||||
}
|
||||
vo.setFirstChannels(firstChannels.substring(0, firstChannels.length() - 1));
|
||||
vo.setSecondChannels(secondChannels.substring(0, secondChannels.length() - 1));
|
||||
vo.setUserTokens(userTokens.substring(0, userTokens.length() - 1));
|
||||
vo.setUserId(auth.getUserId());
|
||||
return vo;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取CSV文件的值
|
||||
* \N是空值
|
||||
* @param value 原始值
|
||||
* @return 值
|
||||
*/
|
||||
private String getFieldValue(String value) {
|
||||
if (StringUtils.isBlank(value) || "\\N".equals(value)) {
|
||||
return "";
|
||||
}
|
||||
return value.trim();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.controller;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.api.IPingApi;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.service.ICalculateReductionService;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.service.IPingTestService;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.service.IReadFileService;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class PingController implements IPingApi {
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(PingController.class);
|
||||
@Autowired
|
||||
private IPingTestService pingTestService;
|
||||
|
||||
@Autowired
|
||||
private IReadFileService readFileService;
|
||||
|
||||
@Autowired
|
||||
private ICalculateReductionService calculateReductionService;
|
||||
|
||||
@Override
|
||||
public boolean pingTest() {
|
||||
LOGGER.info("receive ping");
|
||||
|
||||
boolean pingresult = pingTestService.ping();
|
||||
LOGGER.info("ping result [{}]", pingresult);
|
||||
return pingresult;
|
||||
}
|
||||
|
||||
@GetMapping("test00")
|
||||
public void test00() {
|
||||
readFileService.readFileAndInsertDatabase();
|
||||
}
|
||||
|
||||
@GetMapping("test11")
|
||||
public void test11() {
|
||||
calculateReductionService.calculate();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.domain;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
*
|
||||
* @TableName TBL_BC_SUBWAY_MILEAGE
|
||||
*/
|
||||
public class BcSubwayMileage implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String inStationId;
|
||||
|
||||
private String outStationId;
|
||||
|
||||
private Integer mileage;
|
||||
|
||||
private String inStationName;
|
||||
|
||||
private String outStationName;
|
||||
|
||||
public String getInStationId() {
|
||||
return inStationId;
|
||||
}
|
||||
|
||||
public void setInStationId(String inStationId) {
|
||||
this.inStationId = inStationId;
|
||||
}
|
||||
|
||||
public String getOutStationId() {
|
||||
return outStationId;
|
||||
}
|
||||
|
||||
public void setOutStationId(String outStationId) {
|
||||
this.outStationId = outStationId;
|
||||
}
|
||||
|
||||
public Integer getMileage() {
|
||||
return mileage;
|
||||
}
|
||||
|
||||
public void setMileage(Integer mileage) {
|
||||
this.mileage = mileage;
|
||||
}
|
||||
|
||||
public String getInStationName() {
|
||||
return inStationName;
|
||||
}
|
||||
|
||||
public void setInStationName(String inStationName) {
|
||||
this.inStationName = inStationName;
|
||||
}
|
||||
|
||||
public String getOutStationName() {
|
||||
return outStationName;
|
||||
}
|
||||
|
||||
public void setOutStationName(String outStationName) {
|
||||
this.outStationName = outStationName;
|
||||
}
|
||||
}
|
@ -0,0 +1,415 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.domain;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
*
|
||||
* @TableName TBL_DC_BC_TRAVEL_NOTICE
|
||||
*/
|
||||
public class BcTravelNotice implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 推送序号
|
||||
*/
|
||||
private String seqNo;
|
||||
|
||||
/**
|
||||
* 锁标志
|
||||
*/
|
||||
private String txnLock;
|
||||
|
||||
/**
|
||||
* 锁时间
|
||||
*/
|
||||
private String txnTime;
|
||||
|
||||
/**
|
||||
* 业务流水号
|
||||
*/
|
||||
private String travelNo;
|
||||
|
||||
/**
|
||||
* 交易类型
|
||||
*/
|
||||
private String industryCode;
|
||||
|
||||
/**
|
||||
* 拉码渠道
|
||||
*/
|
||||
private String openChannel;
|
||||
|
||||
/**
|
||||
* 进站时间
|
||||
*/
|
||||
private Date intoTransTime;
|
||||
|
||||
/**
|
||||
* 出站时间
|
||||
*/
|
||||
private Date outTransTime;
|
||||
|
||||
/**
|
||||
* 交通卡用户号
|
||||
*/
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 碳普惠子场景账户号
|
||||
*/
|
||||
private String ccid;
|
||||
|
||||
/**
|
||||
* 进站编码
|
||||
*/
|
||||
private String inStationId;
|
||||
|
||||
/**
|
||||
* 出站编码
|
||||
*/
|
||||
private String outStationId;
|
||||
|
||||
/**
|
||||
* 里程数
|
||||
*/
|
||||
private Integer mileage;
|
||||
|
||||
/**
|
||||
* 驾车里程数
|
||||
*/
|
||||
private Integer carMileage;
|
||||
|
||||
/**
|
||||
* 碳排放量
|
||||
*/
|
||||
private String carbonFootprint;
|
||||
|
||||
/**
|
||||
* 碳排放量因子版本号
|
||||
*/
|
||||
private String calcFactorVersion;
|
||||
|
||||
/**
|
||||
* 推送一级机构号
|
||||
*/
|
||||
private String firstChannels;
|
||||
|
||||
/**
|
||||
* 推送二级机构号
|
||||
*/
|
||||
private String secondChannels;
|
||||
|
||||
/**
|
||||
* 机构用户令牌
|
||||
*/
|
||||
private String userTokens;
|
||||
|
||||
/**
|
||||
* 清算日期
|
||||
*/
|
||||
private String stlmDate;
|
||||
|
||||
/**
|
||||
* 行程特征值
|
||||
*/
|
||||
private String travelHash;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 订单完成时间
|
||||
*/
|
||||
private String orderCompleteTime;
|
||||
|
||||
/**
|
||||
* 下次发送时间
|
||||
*/
|
||||
private String nextSendTime;
|
||||
|
||||
/**
|
||||
* 发送次数
|
||||
*/
|
||||
private Integer sendCount;
|
||||
|
||||
/**
|
||||
* 发送状态
|
||||
*/
|
||||
private String sendStatus;
|
||||
|
||||
/**
|
||||
* 创建用户
|
||||
*/
|
||||
private String createUser;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 最后更新用户
|
||||
*/
|
||||
private String lstUpdUser;
|
||||
|
||||
/**
|
||||
* 最后更新时间
|
||||
*/
|
||||
private Date lstUpdTime;
|
||||
|
||||
public String getSeqNo() {
|
||||
return seqNo;
|
||||
}
|
||||
|
||||
public void setSeqNo(String seqNo) {
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
public String getTxnLock() {
|
||||
return txnLock;
|
||||
}
|
||||
|
||||
public void setTxnLock(String txnLock) {
|
||||
this.txnLock = txnLock;
|
||||
}
|
||||
|
||||
public String getTxnTime() {
|
||||
return txnTime;
|
||||
}
|
||||
|
||||
public void setTxnTime(String txnTime) {
|
||||
this.txnTime = txnTime;
|
||||
}
|
||||
|
||||
public String getTravelNo() {
|
||||
return travelNo;
|
||||
}
|
||||
|
||||
public void setTravelNo(String travelNo) {
|
||||
this.travelNo = travelNo;
|
||||
}
|
||||
|
||||
public String getIndustryCode() {
|
||||
return industryCode;
|
||||
}
|
||||
|
||||
public void setIndustryCode(String industryCode) {
|
||||
this.industryCode = industryCode;
|
||||
}
|
||||
|
||||
public String getOpenChannel() {
|
||||
return openChannel;
|
||||
}
|
||||
|
||||
public void setOpenChannel(String openChannel) {
|
||||
this.openChannel = openChannel;
|
||||
}
|
||||
|
||||
public Date getIntoTransTime() {
|
||||
return intoTransTime;
|
||||
}
|
||||
|
||||
public void setIntoTransTime(Date intoTransTime) {
|
||||
this.intoTransTime = intoTransTime;
|
||||
}
|
||||
|
||||
public Date getOutTransTime() {
|
||||
return outTransTime;
|
||||
}
|
||||
|
||||
public void setOutTransTime(Date outTransTime) {
|
||||
this.outTransTime = outTransTime;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getCcid() {
|
||||
return ccid;
|
||||
}
|
||||
|
||||
public void setCcid(String ccid) {
|
||||
this.ccid = ccid;
|
||||
}
|
||||
|
||||
public String getInStationId() {
|
||||
return inStationId;
|
||||
}
|
||||
|
||||
public void setInStationId(String inStationId) {
|
||||
this.inStationId = inStationId;
|
||||
}
|
||||
|
||||
public String getOutStationId() {
|
||||
return outStationId;
|
||||
}
|
||||
|
||||
public void setOutStationId(String outStationId) {
|
||||
this.outStationId = outStationId;
|
||||
}
|
||||
|
||||
public Integer getMileage() {
|
||||
return mileage;
|
||||
}
|
||||
|
||||
public void setMileage(Integer mileage) {
|
||||
this.mileage = mileage;
|
||||
}
|
||||
|
||||
public Integer getCarMileage() {
|
||||
return carMileage;
|
||||
}
|
||||
|
||||
public void setCarMileage(Integer carMileage) {
|
||||
this.carMileage = carMileage;
|
||||
}
|
||||
|
||||
public String getCarbonFootprint() {
|
||||
return carbonFootprint;
|
||||
}
|
||||
|
||||
public void setCarbonFootprint(String carbonFootprint) {
|
||||
this.carbonFootprint = carbonFootprint;
|
||||
}
|
||||
|
||||
public String getCalcFactorVersion() {
|
||||
return calcFactorVersion;
|
||||
}
|
||||
|
||||
public void setCalcFactorVersion(String calcFactorVersion) {
|
||||
this.calcFactorVersion = calcFactorVersion;
|
||||
}
|
||||
|
||||
public String getFirstChannels() {
|
||||
return firstChannels;
|
||||
}
|
||||
|
||||
public void setFirstChannels(String firstChannels) {
|
||||
this.firstChannels = firstChannels;
|
||||
}
|
||||
|
||||
public String getSecondChannels() {
|
||||
return secondChannels;
|
||||
}
|
||||
|
||||
public void setSecondChannels(String secondChannels) {
|
||||
this.secondChannels = secondChannels;
|
||||
}
|
||||
|
||||
public String getUserTokens() {
|
||||
return userTokens;
|
||||
}
|
||||
|
||||
public void setUserTokens(String userTokens) {
|
||||
this.userTokens = userTokens;
|
||||
}
|
||||
|
||||
public String getStlmDate() {
|
||||
return stlmDate;
|
||||
}
|
||||
|
||||
public void setStlmDate(String stlmDate) {
|
||||
this.stlmDate = stlmDate;
|
||||
}
|
||||
|
||||
public String getTravelHash() {
|
||||
return travelHash;
|
||||
}
|
||||
|
||||
public void setTravelHash(String travelHash) {
|
||||
this.travelHash = travelHash;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getOrderCompleteTime() {
|
||||
return orderCompleteTime;
|
||||
}
|
||||
|
||||
public void setOrderCompleteTime(String orderCompleteTime) {
|
||||
this.orderCompleteTime = orderCompleteTime;
|
||||
}
|
||||
|
||||
public String getNextSendTime() {
|
||||
return nextSendTime;
|
||||
}
|
||||
|
||||
public void setNextSendTime(String nextSendTime) {
|
||||
this.nextSendTime = nextSendTime;
|
||||
}
|
||||
|
||||
public Integer getSendCount() {
|
||||
return sendCount;
|
||||
}
|
||||
|
||||
public void setSendCount(Integer sendCount) {
|
||||
this.sendCount = sendCount;
|
||||
}
|
||||
|
||||
public String getSendStatus() {
|
||||
return sendStatus;
|
||||
}
|
||||
|
||||
public void setSendStatus(String sendStatus) {
|
||||
this.sendStatus = sendStatus;
|
||||
}
|
||||
|
||||
public String getCreateUser() {
|
||||
return createUser;
|
||||
}
|
||||
|
||||
public void setCreateUser(String createUser) {
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getLstUpdUser() {
|
||||
return lstUpdUser;
|
||||
}
|
||||
|
||||
public void setLstUpdUser(String lstUpdUser) {
|
||||
this.lstUpdUser = lstUpdUser;
|
||||
}
|
||||
|
||||
public Date getLstUpdTime() {
|
||||
return lstUpdTime;
|
||||
}
|
||||
|
||||
public void setLstUpdTime(Date lstUpdTime) {
|
||||
this.lstUpdTime = lstUpdTime;
|
||||
}
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 减排量批量计算DTO
|
||||
*
|
||||
* @author ren_chao
|
||||
*/
|
||||
public class ReqCarbonBatchComputationDTO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private int count;
|
||||
private String methodId;
|
||||
private List<ReqCarbonComputeDataDTO> rawDatas;
|
||||
|
||||
public int getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setCount(int count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public String getMethodId() {
|
||||
return methodId;
|
||||
}
|
||||
|
||||
public void setMethodId(String methodId) {
|
||||
this.methodId = methodId;
|
||||
}
|
||||
|
||||
public List<ReqCarbonComputeDataDTO> getRawDatas() {
|
||||
return rawDatas;
|
||||
}
|
||||
|
||||
public void setRawDatas(List<ReqCarbonComputeDataDTO> rawDatas) {
|
||||
this.rawDatas = rawDatas;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 减排量计算 数据DTO
|
||||
* @author ren_chao
|
||||
*/
|
||||
public class ReqCarbonComputeDataDTO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String dataId;
|
||||
private String baseFactor;
|
||||
private String factor;
|
||||
private String tripDistance;
|
||||
|
||||
|
||||
|
||||
public String getDataId() {
|
||||
return dataId;
|
||||
}
|
||||
|
||||
public void setDataId(String dataId) {
|
||||
this.dataId = dataId;
|
||||
}
|
||||
|
||||
public String getBaseFactor() {
|
||||
return baseFactor;
|
||||
}
|
||||
|
||||
public void setBaseFactor(String baseFactor) {
|
||||
this.baseFactor = baseFactor;
|
||||
}
|
||||
|
||||
public String getFactor() {
|
||||
return factor;
|
||||
}
|
||||
|
||||
public void setFactor(String factor) {
|
||||
this.factor = factor;
|
||||
}
|
||||
|
||||
public String getTripDistance() {
|
||||
return tripDistance;
|
||||
}
|
||||
|
||||
public void setTripDistance(String tripDistance) {
|
||||
this.tripDistance = tripDistance;
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,31 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 碳减排量DTO
|
||||
*
|
||||
* @author ren_chao
|
||||
*/
|
||||
public class ResEmissionReductionDTO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String dataId;
|
||||
private String emissionReduction;
|
||||
|
||||
public String getDataId() {
|
||||
return dataId;
|
||||
}
|
||||
|
||||
public void setDataId(String dataId) {
|
||||
this.dataId = dataId;
|
||||
}
|
||||
|
||||
public String getEmissionReduction() {
|
||||
return emissionReduction;
|
||||
}
|
||||
|
||||
public void setEmissionReduction(String emissionReduction) {
|
||||
this.emissionReduction = emissionReduction;
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 接收平台返回的数据
|
||||
*
|
||||
* @author ren_chao
|
||||
*/
|
||||
public class ResultDTO<T> implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private int code;
|
||||
private String msg;
|
||||
private T content;
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public T getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(T content) {
|
||||
this.content = content;
|
||||
}
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.exception;
|
||||
|
||||
/**
|
||||
* 业务异常
|
||||
*
|
||||
*/
|
||||
public final class ServiceException extends RuntimeException {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer code;
|
||||
|
||||
public ServiceException() {
|
||||
}
|
||||
|
||||
public ServiceException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public ServiceException(String message, Integer code) {
|
||||
super(message);
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.feign;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.ReqCarbonBatchComputationDTO;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.ResEmissionReductionDTO;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.ResultDTO;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 碳减排量处理接口调用
|
||||
*
|
||||
* @author ren_chao
|
||||
*/
|
||||
@FeignClient(name = "carbonDataProcessFeign", url = "http://carbon-dev.natappvip.cc")
|
||||
public interface CarbonDataProcessFeign {
|
||||
|
||||
@PostMapping("/carbon-inclusion/apis/v1/reduction/batchComputation")
|
||||
ResultDTO<Map<String, List<ResEmissionReductionDTO>>> batchComputation(@RequestBody ReqCarbonBatchComputationDTO carbonBatchComputation);
|
||||
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author RENCHAO
|
||||
* @description 针对表【TBL_BC_SUBWAY_MILEAGE】的数据库操作Mapper
|
||||
* @createDate 2024-04-19 10:36:32
|
||||
* @Entity com.jiuyv.sptcc.carbon.dataprocess.domain.BcSubwayMileage
|
||||
*/
|
||||
@Mapper
|
||||
public interface BcSubwayMileageMapper {
|
||||
|
||||
/**
|
||||
* 查询里程
|
||||
*/
|
||||
Integer selectMileage(@Param("inStationId") String inStationId, @Param("outStationId") String outStationId);
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.mapper;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.domain.BcTravelNotice;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 针对表【TBL_BC_TRAVEL_NOTICE】的数据库操作Mapper
|
||||
* 2024-04-17 15:51:32
|
||||
*
|
||||
*/
|
||||
@Mapper
|
||||
public interface BcTravelNoticeMapper {
|
||||
|
||||
int insertSelective(BcTravelNotice record);
|
||||
|
||||
BcTravelNotice selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByPrimaryKeySelective(BcTravelNotice record);
|
||||
|
||||
List<BcTravelNotice> selectByPage(Integer start, Integer count);
|
||||
}
|
@ -0,0 +1,92 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model;
|
||||
|
||||
/**
|
||||
* 短信对象
|
||||
* @author jiuyv
|
||||
*
|
||||
*/
|
||||
public class MsgInfo {
|
||||
|
||||
/** title : 短信标题 */
|
||||
private String title;
|
||||
|
||||
/** content : 短信内容 */
|
||||
private String content;
|
||||
|
||||
/** receiver : 短信收件人 */
|
||||
private String receiver;
|
||||
|
||||
/**
|
||||
* 空参数构造方法
|
||||
*/
|
||||
public MsgInfo() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 全参数构造方法
|
||||
* @param title 标题
|
||||
* @param content 内容
|
||||
*/
|
||||
public MsgInfo(String title, String content) {
|
||||
super();
|
||||
this.title = title;
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
/**
|
||||
* 全参数构造方法
|
||||
* @param title 标题
|
||||
* @param content 内容
|
||||
* @param receiver 收件人
|
||||
*/
|
||||
public MsgInfo(String title, String content, String receiver) {
|
||||
super();
|
||||
this.title = title;
|
||||
this.content = content;
|
||||
this.receiver = receiver;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the title
|
||||
*/
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param title the title to set
|
||||
*/
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the content
|
||||
*/
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param content the content to set
|
||||
*/
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the receiver
|
||||
*/
|
||||
public String getReceiver() {
|
||||
return receiver;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param receiver the receiver to set
|
||||
*/
|
||||
public void setReceiver(String receiver) {
|
||||
this.receiver = receiver;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,110 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model;
|
||||
|
||||
/**
|
||||
* 返回错误信息
|
||||
* @author jiuyv
|
||||
*
|
||||
*/
|
||||
public class ResultBean<T> {
|
||||
|
||||
private boolean success = false;
|
||||
|
||||
/** 返回码 */
|
||||
private String respCode;
|
||||
|
||||
/** 返回信息 */
|
||||
private String respMessage;
|
||||
|
||||
/** 数据对象 */
|
||||
private T data;
|
||||
|
||||
/**
|
||||
* 构造方法
|
||||
* @param respCode
|
||||
* @param respMessage
|
||||
*/
|
||||
public ResultBean(boolean success, T obj, String respCode, String respMessage) {
|
||||
this.respCode = respCode;
|
||||
this.respMessage = respMessage;
|
||||
this.success = success;
|
||||
this.data = obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* 构造方法
|
||||
* @param respCode
|
||||
* @param respMessage
|
||||
*/
|
||||
public ResultBean(String respCode, String respMessage) {
|
||||
this.respCode = respCode;
|
||||
this.respMessage = respMessage;
|
||||
}
|
||||
|
||||
/**
|
||||
* 构造方法
|
||||
* @param respCode
|
||||
* @param respMessage
|
||||
*/
|
||||
public ResultBean(T obj, String respCode, String respMessage) {
|
||||
this.data = obj;
|
||||
this.respCode = respCode;
|
||||
this.respMessage = respMessage;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the respCode
|
||||
*/
|
||||
public String getRespCode() {
|
||||
return respCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param respCode the respCode to set
|
||||
*/
|
||||
public void setRespCode(String respCode) {
|
||||
this.respCode = respCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the respMessage
|
||||
*/
|
||||
public String getRespMessage() {
|
||||
return respMessage;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param respMessage the respMessage to set
|
||||
*/
|
||||
public void setRespMessage(String respMessage) {
|
||||
this.respMessage = respMessage;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the data
|
||||
*/
|
||||
public T getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param data the data to set
|
||||
*/
|
||||
public void setData(T data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the success
|
||||
*/
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param success the success to set
|
||||
*/
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,84 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.common;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class PageDomin implements Serializable {
|
||||
|
||||
/** sortType : 排序方式. */
|
||||
private String sortType;
|
||||
|
||||
/** sortField : 排序字段 */
|
||||
private String sortField;
|
||||
|
||||
/** startPage : 开始页码 */
|
||||
private Integer startPage;
|
||||
|
||||
/** pageSize : 每页条数 */
|
||||
private Integer pageSize;
|
||||
|
||||
// -- Extends --
|
||||
/** offset : 偏移量 */
|
||||
private Integer offset;
|
||||
|
||||
/** endline : 末尾行数 */
|
||||
private Integer endline;
|
||||
|
||||
/** sortReg : 排序表达式 */
|
||||
private String sortReg;
|
||||
|
||||
public Integer getStartPage() {
|
||||
return startPage;
|
||||
}
|
||||
|
||||
public void setStartPage(Integer startPage) {
|
||||
this.startPage = startPage;
|
||||
}
|
||||
|
||||
public Integer getPageSize() {
|
||||
return pageSize;
|
||||
}
|
||||
|
||||
public void setPageSize(Integer pageSize) {
|
||||
this.pageSize = pageSize;
|
||||
}
|
||||
|
||||
public String getSortType() {
|
||||
return sortType;
|
||||
}
|
||||
|
||||
public void setSortType(String sortType) {
|
||||
this.sortType = sortType;
|
||||
}
|
||||
|
||||
public String getSortField() {
|
||||
return sortField;
|
||||
}
|
||||
|
||||
public void setSortField(String sortField) {
|
||||
this.sortField = sortField;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getEndline() {
|
||||
return endline;
|
||||
}
|
||||
|
||||
public void setEndline(Integer endline) {
|
||||
this.endline = endline;
|
||||
}
|
||||
|
||||
public String getSortReg() {
|
||||
return sortReg;
|
||||
}
|
||||
|
||||
public void setSortReg(String sortReg) {
|
||||
this.sortReg = sortReg;
|
||||
}
|
||||
}
|
@ -0,0 +1,199 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.common;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* EntityBean: 系统参数表 TBL_SYS_PARAM : TBL_SYS_PARAM
|
||||
* This is a value object(VO).
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
public class SysParamVo implements java.io.Serializable {
|
||||
|
||||
/** default Serial Version UID*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
// -- Fields --
|
||||
/** paramCode : 参数名称. PARAM_CODE: VARCHAR2(40) */
|
||||
private String paramCode ;
|
||||
|
||||
/** version : VERSION. VERSION: NUMBER(10) */
|
||||
private Long version ;
|
||||
|
||||
/** paramValue : 参数值. PARAM_VALUE: VARCHAR2(100) */
|
||||
private String paramValue ;
|
||||
|
||||
/** paramCheck : 检查方式. PARAM_CHECK: CHAR(1) */
|
||||
private String paramCheck ;
|
||||
|
||||
/** paramRule : 检查规则. PARAM_RULE: VARCHAR2(100) */
|
||||
private String paramRule ;
|
||||
|
||||
/** paramModifyFlag : 可修改标志. PARAM_MODIFY_FLAG: CHAR(1) */
|
||||
private String paramModifyFlag ;
|
||||
|
||||
/** paramDesc : 描述. PARAM_DESC: VARCHAR2(120) */
|
||||
private String paramDesc ;
|
||||
|
||||
/** paramRemark : 注释. PARAM_REMARK: VARCHAR2(100) */
|
||||
private String paramRemark ;
|
||||
|
||||
/** lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR) */
|
||||
private String lstUpdUser ;
|
||||
|
||||
/** lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14) */
|
||||
private String lstUpdTime ;
|
||||
|
||||
// -- Constructor --
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public SysParamVo() {
|
||||
// Default Construtor
|
||||
}
|
||||
|
||||
public SysParamVo(String paramCode) {
|
||||
this.paramCode = paramCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the paramCode
|
||||
*/
|
||||
public String getParamCode() {
|
||||
return paramCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param paramCode the paramCode to set
|
||||
*/
|
||||
public void setParamCode(String paramCode) {
|
||||
this.paramCode = paramCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the version
|
||||
*/
|
||||
public Long getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param version the version to set
|
||||
*/
|
||||
public void setVersion(Long version) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the paramValue
|
||||
*/
|
||||
public String getParamValue() {
|
||||
return paramValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param paramValue the paramValue to set
|
||||
*/
|
||||
public void setParamValue(String paramValue) {
|
||||
this.paramValue = paramValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the paramCheck
|
||||
*/
|
||||
public String getParamCheck() {
|
||||
return paramCheck;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param paramCheck the paramCheck to set
|
||||
*/
|
||||
public void setParamCheck(String paramCheck) {
|
||||
this.paramCheck = paramCheck;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the paramRule
|
||||
*/
|
||||
public String getParamRule() {
|
||||
return paramRule;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param paramRule the paramRule to set
|
||||
*/
|
||||
public void setParamRule(String paramRule) {
|
||||
this.paramRule = paramRule;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the paramModifyFlag
|
||||
*/
|
||||
public String getParamModifyFlag() {
|
||||
return paramModifyFlag;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param paramModifyFlag the paramModifyFlag to set
|
||||
*/
|
||||
public void setParamModifyFlag(String paramModifyFlag) {
|
||||
this.paramModifyFlag = paramModifyFlag;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the paramDesc
|
||||
*/
|
||||
public String getParamDesc() {
|
||||
return paramDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param paramDesc the paramDesc to set
|
||||
*/
|
||||
public void setParamDesc(String paramDesc) {
|
||||
this.paramDesc = paramDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the paramRemark
|
||||
*/
|
||||
public String getParamRemark() {
|
||||
return paramRemark;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param paramRemark the paramRemark to set
|
||||
*/
|
||||
public void setParamRemark(String paramRemark) {
|
||||
this.paramRemark = paramRemark;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the lstUpdUser
|
||||
*/
|
||||
public String getLstUpdUser() {
|
||||
return lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param lstUpdUser the lstUpdUser to set
|
||||
*/
|
||||
public void setLstUpdUser(String lstUpdUser) {
|
||||
this.lstUpdUser = lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the lstUpdTime
|
||||
*/
|
||||
public String getLstUpdTime() {
|
||||
return lstUpdTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param lstUpdTime the lstUpdTime to set
|
||||
*/
|
||||
public void setLstUpdTime(String lstUpdTime) {
|
||||
this.lstUpdTime = lstUpdTime;
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.common.dao;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface SysBaseInfoDao {
|
||||
|
||||
/**
|
||||
* 获取系统当前时间-yyyyMMddHHmmss
|
||||
* @return
|
||||
*/
|
||||
String selectSysCurrentTime();
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 卡授权信息
|
||||
*/
|
||||
public class AuthInfo {
|
||||
|
||||
/** 用户号 */
|
||||
private String userId;
|
||||
|
||||
/** 资源ID */
|
||||
private String resourceId;
|
||||
|
||||
/** 用户令牌 */
|
||||
private Map<String, String> userTokens;
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Map<String, String> getUserTokens() {
|
||||
return userTokens;
|
||||
}
|
||||
|
||||
public void setUserTokens(Map<String, String> userTokens) {
|
||||
this.userTokens = userTokens;
|
||||
}
|
||||
|
||||
public String getResourceId() {
|
||||
return resourceId;
|
||||
}
|
||||
|
||||
public void setResourceId(String resourceId) {
|
||||
this.resourceId = resourceId;
|
||||
}
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess;
|
||||
|
||||
/**
|
||||
* 对账文件对象
|
||||
*/
|
||||
public class BcTravelAcctSumVo {
|
||||
|
||||
/** stlmDate : 清算日期 */
|
||||
private String stlmDate;
|
||||
|
||||
/** totalCount : 总行数 */
|
||||
private Long totalCount;
|
||||
|
||||
public BcTravelAcctSumVo(String stlmDate) {
|
||||
this.stlmDate = stlmDate;
|
||||
this.totalCount = 0L;
|
||||
}
|
||||
|
||||
public String getStlmDate() {
|
||||
return stlmDate;
|
||||
}
|
||||
|
||||
public void setStlmDate(String stlmDate) {
|
||||
this.stlmDate = stlmDate;
|
||||
}
|
||||
|
||||
public Long getTotalCount() {
|
||||
return totalCount;
|
||||
}
|
||||
|
||||
public void setTotalCount(Long totalCount) {
|
||||
this.totalCount = totalCount;
|
||||
}
|
||||
}
|
@ -0,0 +1,117 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess;
|
||||
|
||||
/**
|
||||
* 对账文件对象
|
||||
*/
|
||||
public class BcTravelAcctVo {
|
||||
|
||||
/** travelNo : 行程单号 */
|
||||
private String travelNo;
|
||||
|
||||
/** transType : 交易类型 */
|
||||
private String transType;
|
||||
|
||||
/** userId : 用户号 */
|
||||
private String userId;
|
||||
|
||||
/** firstChannels : 推送一级机构号. FIRST_CHANNELS: VARCHAR2(512 CHAR) */
|
||||
private String firstChannels ;
|
||||
|
||||
/** secondChannels : 推送二级机构号. SECOND_CHANNELS: VARCHAR2(512 CHAR) */
|
||||
private String secondChannels ;
|
||||
|
||||
/** userToken : 用户令牌 */
|
||||
private String userToken;
|
||||
|
||||
/** bcChannel : 拉码渠道 */
|
||||
private String bcChannel ;
|
||||
|
||||
/** intoTransTime : 进站时间 */
|
||||
private String intoTransTime;
|
||||
|
||||
/** travelHash : 行程特征值. */
|
||||
private String travelHash ;
|
||||
|
||||
/** carbonFootprint : 碳排放量. */
|
||||
private String carbonFootprint ;
|
||||
|
||||
public String getTravelNo() {
|
||||
return travelNo;
|
||||
}
|
||||
|
||||
public void setTravelNo(String travelNo) {
|
||||
this.travelNo = travelNo;
|
||||
}
|
||||
|
||||
public String getTransType() {
|
||||
return transType;
|
||||
}
|
||||
|
||||
public void setTransType(String transType) {
|
||||
this.transType = transType;
|
||||
}
|
||||
|
||||
public String getIntoTransTime() {
|
||||
return intoTransTime;
|
||||
}
|
||||
|
||||
public void setIntoTransTime(String intoTransTime) {
|
||||
this.intoTransTime = intoTransTime;
|
||||
}
|
||||
|
||||
public String getUserToken() {
|
||||
return userToken;
|
||||
}
|
||||
|
||||
public void setUserToken(String userToken) {
|
||||
this.userToken = userToken;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getFirstChannels() {
|
||||
return firstChannels;
|
||||
}
|
||||
|
||||
public void setFirstChannels(String firstChannels) {
|
||||
this.firstChannels = firstChannels;
|
||||
}
|
||||
|
||||
public String getSecondChannels() {
|
||||
return secondChannels;
|
||||
}
|
||||
|
||||
public void setSecondChannels(String secondChannels) {
|
||||
this.secondChannels = secondChannels;
|
||||
}
|
||||
|
||||
public String getBcChannel() {
|
||||
return bcChannel;
|
||||
}
|
||||
|
||||
public void setBcChannel(String bcChannel) {
|
||||
this.bcChannel = bcChannel;
|
||||
}
|
||||
|
||||
public String getTravelHash() {
|
||||
return travelHash;
|
||||
}
|
||||
|
||||
public void setTravelHash(String travelHash) {
|
||||
this.travelHash = travelHash;
|
||||
}
|
||||
|
||||
public String getCarbonFootprint() {
|
||||
return carbonFootprint;
|
||||
}
|
||||
|
||||
public void setCarbonFootprint(String carbonFootprint) {
|
||||
this.carbonFootprint = carbonFootprint;
|
||||
}
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* EntityBean: TBL_DC_ASYN_CTRL 系统时间片控制表 : TBL_DC_ASYN_CTRL
|
||||
* This is a value object(VO).
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
public class DcAsynCtrlVo implements java.io.Serializable {
|
||||
|
||||
/** default Serial Version UID*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
// -- Fields --
|
||||
/** appId : 应用id. APP_ID: VARCHAR2(32 CHAR) */
|
||||
private String appId ;
|
||||
|
||||
/** cycleStat : 轮循状态. CYCLE_STAT: NUMBER(1) */
|
||||
private Long cycleStat ;
|
||||
|
||||
/** currDateTime : 当前处理时间. CURR_DATE_TIME: CHAR(14) */
|
||||
private String currDateTime ;
|
||||
|
||||
/** updatetime : 最后更新时间. UPDATETIME: VARCHAR2(14) */
|
||||
private String updatetime ;
|
||||
|
||||
// -- Constructor --
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public DcAsynCtrlVo() {
|
||||
// Default Construtor
|
||||
}
|
||||
|
||||
public DcAsynCtrlVo(String appId) {
|
||||
this.appId = appId;
|
||||
}
|
||||
|
||||
// -- Setter And Getter
|
||||
/**
|
||||
* Set appId : 应用id. APP_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setAppId(String appId){
|
||||
this.appId = appId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get appId : 应用id. APP_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getAppId(){
|
||||
return this.appId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set cycleStat : 轮循状态. CYCLE_STAT: NUMBER(1)
|
||||
*/
|
||||
public void setCycleStat(Long cycleStat){
|
||||
this.cycleStat = cycleStat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get cycleStat : 轮循状态. CYCLE_STAT: NUMBER(1)
|
||||
*/
|
||||
public Long getCycleStat(){
|
||||
return this.cycleStat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set currDateTime : 当前处理时间. CURR_DATE_TIME: CHAR(14)
|
||||
*/
|
||||
public void setCurrDateTime(String currDateTime){
|
||||
this.currDateTime = currDateTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get currDateTime : 当前处理时间. CURR_DATE_TIME: CHAR(14)
|
||||
*/
|
||||
public String getCurrDateTime(){
|
||||
return this.currDateTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set updatetime : 最后更新时间. UPDATETIME: VARCHAR2(14)
|
||||
*/
|
||||
public void setUpdatetime(String updatetime){
|
||||
this.updatetime = updatetime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updatetime : 最后更新时间. UPDATETIME: VARCHAR2(14)
|
||||
*/
|
||||
public String getUpdatetime(){
|
||||
return this.updatetime;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,534 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* EntityBean: TBL_DC_BC_TRAVEL_NOTICE 二维码交易推送表 : TBL_DC_BC_TRAVEL_NOTICE
|
||||
* This is a value object(VO).
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
public class DcBcTravelNoticeVo implements java.io.Serializable {
|
||||
|
||||
/** default Serial Version UID*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
// -- Fields --
|
||||
/** seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR) */
|
||||
private String seqNo ;
|
||||
|
||||
/** txnLock : 锁标志. TXN_LOCK: CHAR(1) */
|
||||
private String txnLock ;
|
||||
|
||||
/** txnTime : 锁时间. TXN_TIME: CHAR(14) */
|
||||
private String txnTime ;
|
||||
|
||||
/** travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR) */
|
||||
private String travelNo ;
|
||||
|
||||
/** transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR) */
|
||||
private String transType ;
|
||||
|
||||
/** bcChannel : 拉码渠道. BC_CHANNEL: VARCHAR2(32 CHAR) */
|
||||
private String bcChannel ;
|
||||
|
||||
/** inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14) */
|
||||
private String inTransTime ;
|
||||
|
||||
/** outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14) */
|
||||
private String outTransTime ;
|
||||
|
||||
/** userId : 用户号. USER_ID: VARCHAR2(32 CHAR) */
|
||||
private String userId ;
|
||||
|
||||
/** inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR) */
|
||||
private String inStationId ;
|
||||
|
||||
/** outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR) */
|
||||
private String outStationId ;
|
||||
|
||||
/** mileage : 里程数. MILEAGE: NUMBER(10) */
|
||||
private Long mileage ;
|
||||
|
||||
/** carMileage : 驾车里程数. CAR_MILEAGE: NUMBER(10) */
|
||||
private Long carMileage;
|
||||
|
||||
/** carbonFootprint : 碳排放量. CARBON_FOOTPRINT: VARCHAR2(32 CHAR) */
|
||||
private String carbonFootprint ;
|
||||
|
||||
/** calcFactorVersion : 碳排放量因子版本号. CALC_FACTOR_VERSION: VARCHAR2(32 CHAR) */
|
||||
private String calcFactorVersion ;
|
||||
|
||||
/** firstChannels : 推送一级机构号. FIRST_CHANNELS: VARCHAR2(512 CHAR) */
|
||||
private String firstChannels ;
|
||||
|
||||
/** secondChannels : 推送二级机构号. SECOND_CHANNELS: VARCHAR2(512 CHAR) */
|
||||
private String secondChannels ;
|
||||
|
||||
/** userTokens : 机构用户令牌. USER_TOKENS: VARCHAR2(512 CHAR) */
|
||||
private String userTokens ;
|
||||
|
||||
/** stlmDate : 清算日期. STLM_DATE: CHAR(8) */
|
||||
private String stlmDate ;
|
||||
|
||||
/** travelHash : 行程特征值. TRAVEL_HASH: VARCHAR2(64 CHAR) */
|
||||
private String travelHash ;
|
||||
|
||||
/** status : 状态. STATUS: VARCHAR2(32 CHAR) */
|
||||
private String status ;
|
||||
|
||||
/** remark : 备注. REMARK: VARCHAR(255 CHAR) */
|
||||
private String remark ;
|
||||
|
||||
/** orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14) */
|
||||
private String orderCompleteTime ;
|
||||
|
||||
/** nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14) */
|
||||
private String nextSendTime ;
|
||||
|
||||
/** sendCount : 发送次数. SEND_COUNT: NUMBER(10) */
|
||||
private Long sendCount ;
|
||||
|
||||
/** sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR) */
|
||||
private String sendStatus ;
|
||||
|
||||
/** createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR) */
|
||||
private String createUser ;
|
||||
|
||||
/** createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR) */
|
||||
private String createTime ;
|
||||
|
||||
/** lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR) */
|
||||
private String lstUpdUser ;
|
||||
|
||||
/** lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14) */
|
||||
private String lstUpdTime ;
|
||||
|
||||
// -- Constructor --
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public DcBcTravelNoticeVo() {
|
||||
// Default Construtor
|
||||
}
|
||||
|
||||
public DcBcTravelNoticeVo(String seqNo) {
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
// -- Setter And Getter
|
||||
/**
|
||||
* Set seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public void setSeqNo(String seqNo){
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public String getSeqNo(){
|
||||
return this.seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set txnLock : 锁标志. TXN_LOCK: CHAR(1)
|
||||
*/
|
||||
public void setTxnLock(String txnLock){
|
||||
this.txnLock = txnLock;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get txnLock : 锁标志. TXN_LOCK: CHAR(1)
|
||||
*/
|
||||
public String getTxnLock(){
|
||||
return this.txnLock;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set txnTime : 锁时间. TXN_TIME: CHAR(14)
|
||||
*/
|
||||
public void setTxnTime(String txnTime){
|
||||
this.txnTime = txnTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get txnTime : 锁时间. TXN_TIME: CHAR(14)
|
||||
*/
|
||||
public String getTxnTime(){
|
||||
return this.txnTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setTravelNo(String travelNo){
|
||||
this.travelNo = travelNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getTravelNo(){
|
||||
return this.travelNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setTransType(String transType){
|
||||
this.transType = transType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getTransType(){
|
||||
return this.transType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set bcChannel : 拉码渠道. BC_CHANNEL: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setBcChannel(String bcChannel){
|
||||
this.bcChannel = bcChannel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get bcChannel : 拉码渠道. BC_CHANNEL: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getBcChannel(){
|
||||
return this.bcChannel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public void setInTransTime(String inTransTime){
|
||||
this.inTransTime = inTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public String getInTransTime(){
|
||||
return this.inTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public void setOutTransTime(String outTransTime){
|
||||
this.outTransTime = outTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public String getOutTransTime(){
|
||||
return this.outTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set userId : 用户号. USER_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setUserId(String userId){
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get userId : 用户号. USER_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getUserId(){
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setInStationId(String inStationId){
|
||||
this.inStationId = inStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getInStationId(){
|
||||
return this.inStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setOutStationId(String outStationId){
|
||||
this.outStationId = outStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getOutStationId(){
|
||||
return this.outStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set mileage : 里程数. MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public void setMileage(Long mileage){
|
||||
this.mileage = mileage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mileage : 里程数. MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public Long getMileage(){
|
||||
return this.mileage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set carbonFootprint : 碳排放量. CARBON_FOOTPRINT: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setCarbonFootprint(String carbonFootprint){
|
||||
this.carbonFootprint = carbonFootprint;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get carbonFootprint : 碳排放量. CARBON_FOOTPRINT: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getCarbonFootprint(){
|
||||
return this.carbonFootprint;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set calcFactorVersion : 碳排放量因子版本号. CALC_FACTOR_VERSION: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setCalcFactorVersion(String calcFactorVersion){
|
||||
this.calcFactorVersion = calcFactorVersion;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get calcFactorVersion : 碳排放量因子版本号. CALC_FACTOR_VERSION: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getCalcFactorVersion(){
|
||||
return this.calcFactorVersion;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set firstChannels : 推送一级机构号. FIRST_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public void setFirstChannels(String firstChannels){
|
||||
this.firstChannels = firstChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get firstChannels : 推送一级机构号. FIRST_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public String getFirstChannels(){
|
||||
return this.firstChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set secondChannels : 推送二级机构号. SECOND_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public void setSecondChannels(String secondChannels){
|
||||
this.secondChannels = secondChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get secondChannels : 推送二级机构号. SECOND_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public String getSecondChannels(){
|
||||
return this.secondChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set userTokens : 机构用户令牌. USER_TOKENS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public void setUserTokens(String userTokens){
|
||||
this.userTokens = userTokens;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get userTokens : 机构用户令牌. USER_TOKENS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public String getUserTokens(){
|
||||
return this.userTokens;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set stlmDate : 清算日期. STLM_DATE: CHAR(8)
|
||||
*/
|
||||
public void setStlmDate(String stlmDate){
|
||||
this.stlmDate = stlmDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get stlmDate : 清算日期. STLM_DATE: CHAR(8)
|
||||
*/
|
||||
public String getStlmDate(){
|
||||
return this.stlmDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set travelHash : 行程特征值. TRAVEL_HASH: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public void setTravelHash(String travelHash){
|
||||
this.travelHash = travelHash;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get travelHash : 行程特征值. TRAVEL_HASH: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public String getTravelHash(){
|
||||
return this.travelHash;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set status : 状态. STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setStatus(String status){
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get status : 状态. STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getStatus(){
|
||||
return this.status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set remark : 备注. REMARK: VARCHAR(255 CHAR)
|
||||
*/
|
||||
public void setRemark(String remark){
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get remark : 备注. REMARK: VARCHAR(255 CHAR)
|
||||
*/
|
||||
public String getRemark(){
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14)
|
||||
*/
|
||||
public void setOrderCompleteTime(String orderCompleteTime){
|
||||
this.orderCompleteTime = orderCompleteTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14)
|
||||
*/
|
||||
public String getOrderCompleteTime(){
|
||||
return this.orderCompleteTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14)
|
||||
*/
|
||||
public void setNextSendTime(String nextSendTime){
|
||||
this.nextSendTime = nextSendTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14)
|
||||
*/
|
||||
public String getNextSendTime(){
|
||||
return this.nextSendTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set sendCount : 发送次数. SEND_COUNT: NUMBER(10)
|
||||
*/
|
||||
public void setSendCount(Long sendCount){
|
||||
this.sendCount = sendCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sendCount : 发送次数. SEND_COUNT: NUMBER(10)
|
||||
*/
|
||||
public Long getSendCount(){
|
||||
return this.sendCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setSendStatus(String sendStatus){
|
||||
this.sendStatus = sendStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getSendStatus(){
|
||||
return this.sendStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setCreateUser(String createUser){
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getCreateUser(){
|
||||
return this.createUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR)
|
||||
*/
|
||||
public void setCreateTime(String createTime){
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR)
|
||||
*/
|
||||
public String getCreateTime(){
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setLstUpdUser(String lstUpdUser){
|
||||
this.lstUpdUser = lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getLstUpdUser(){
|
||||
return this.lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14)
|
||||
*/
|
||||
public void setLstUpdTime(String lstUpdTime){
|
||||
this.lstUpdTime = lstUpdTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14)
|
||||
*/
|
||||
public String getLstUpdTime(){
|
||||
return this.lstUpdTime;
|
||||
}
|
||||
|
||||
public Long getCarMileage() {
|
||||
return carMileage;
|
||||
}
|
||||
|
||||
public void setCarMileage(Long carMileage) {
|
||||
this.carMileage = carMileage;
|
||||
}
|
||||
}
|
@ -0,0 +1,143 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* EntityBean: TBL_DC_CALC_FACTOR 计算因子表 : TBL_DC_CALC_FACTOR
|
||||
* This is a value object(VO).
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
public class DcCalcFactorVo implements java.io.Serializable {
|
||||
|
||||
/** default Serial Version UID*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
// -- Fields --
|
||||
/** version : VERSION. VERSION: VARCHAR2(32 CHAR) */
|
||||
private String version ;
|
||||
|
||||
/** avaerageMileage : 平均里程(m). AVAERAGE_MILEAGE: NUMBER(10) */
|
||||
private Long avaerageMileage ;
|
||||
|
||||
/** normalFactor : 高碳排放因子. NORMAL_FACTOR: NUMBER(10) */
|
||||
private Long normalFactor ;
|
||||
|
||||
/** busFactor : 公交排放因子. BUS_FACTOR: NUMBER(10) */
|
||||
private Long busFactor ;
|
||||
|
||||
/** subwayFactor : 地铁排放因子. SUBWAY_FACTOR: NUMBER(10) */
|
||||
private Long subwayFactor ;
|
||||
|
||||
/** startTime : 开始时间. START_TIME: CHAR(14) */
|
||||
private String startTime ;
|
||||
|
||||
/** endTime : 失效时间. END_TIME: CHAR(14) */
|
||||
private String endTime ;
|
||||
|
||||
// -- Constructor --
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public DcCalcFactorVo() {
|
||||
// Default Construtor
|
||||
}
|
||||
|
||||
public DcCalcFactorVo(String version) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
// -- Setter And Getter
|
||||
/**
|
||||
* Set version : VERSION. VERSION: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setVersion(String version){
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get version : VERSION. VERSION: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getVersion(){
|
||||
return this.version;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set avaerageMileage : 平均里程(m). AVAERAGE_MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public void setAvaerageMileage(Long avaerageMileage){
|
||||
this.avaerageMileage = avaerageMileage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get avaerageMileage : 平均里程(m). AVAERAGE_MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public Long getAvaerageMileage(){
|
||||
return this.avaerageMileage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set normalFactor : 高碳排放因子. NORMAL_FACTOR: NUMBER(10)
|
||||
*/
|
||||
public void setNormalFactor(Long normalFactor){
|
||||
this.normalFactor = normalFactor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get normalFactor : 高碳排放因子. NORMAL_FACTOR: NUMBER(10)
|
||||
*/
|
||||
public Long getNormalFactor(){
|
||||
return this.normalFactor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set busFactor : 公交排放因子. BUS_FACTOR: NUMBER(10)
|
||||
*/
|
||||
public void setBusFactor(Long busFactor){
|
||||
this.busFactor = busFactor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get busFactor : 公交排放因子. BUS_FACTOR: NUMBER(10)
|
||||
*/
|
||||
public Long getBusFactor(){
|
||||
return this.busFactor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set subwayFactor : 地铁排放因子. SUBWAY_FACTOR: NUMBER(10)
|
||||
*/
|
||||
public void setSubwayFactor(Long subwayFactor){
|
||||
this.subwayFactor = subwayFactor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get subwayFactor : 地铁排放因子. SUBWAY_FACTOR: NUMBER(10)
|
||||
*/
|
||||
public Long getSubwayFactor(){
|
||||
return this.subwayFactor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set endTime : 失效时间. END_TIME: CHAR(14)
|
||||
*/
|
||||
public void setEndTime(String endTime){
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get endTime : 失效时间. END_TIME: CHAR(14)
|
||||
*/
|
||||
public String getEndTime(){
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public String getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(String startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
}
|
@ -0,0 +1,213 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* EntityBean: TBL_MC_CTRL 系统控制表 : TBL_MC_CTRL
|
||||
* This is a value object(VO).
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
public class DcCtrlVo implements java.io.Serializable {
|
||||
|
||||
/** default Serial Version UID*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
// -- Fields --
|
||||
/** sday : 当前清分日. SDAY: CHAR(8) */
|
||||
private String sday ;
|
||||
|
||||
/** prevPrevStmtDay : 上二清分日期. PREV_PREV_STMT_DAY: CHAR(8) */
|
||||
private String prevPrevStmtDay ;
|
||||
|
||||
/** prevStmtDay : 上一清分日期. PREV_STMT_DAY: CHAR(8) */
|
||||
private String prevStmtDay ;
|
||||
|
||||
/** nextDate : 下一清分日期. NEXT_DATE: CHAR(8) */
|
||||
private String nextDate ;
|
||||
|
||||
/** cycleDate : 轮循清分日期. CYCLE_DATE: CHAR(8) */
|
||||
private String cycleDate ;
|
||||
|
||||
/** dayCutUpdt : 日切开始时间. DAY_CUT_UPDT: CHAR(14) */
|
||||
private String dayCutUpdt ;
|
||||
|
||||
/** fepProcSt : 前置包处理品状态. FEP_PROC_ST: CHAR(2) */
|
||||
private String fepProcSt ;
|
||||
|
||||
/** batchSt : 批处理状态. BATCH_ST: CHAR(2) */
|
||||
private String batchSt ;
|
||||
|
||||
/** updtDt : 修改时间. UPDT_DT: CHAR(14) */
|
||||
private String updtDt ;
|
||||
|
||||
/** versionDt : 参数版本时间. VERSION_DT: CHAR(14) */
|
||||
private String versionDt ;
|
||||
|
||||
// -- Extends --
|
||||
/** currentTime : 当前时间 */
|
||||
private String currentTime;
|
||||
|
||||
// -- Constructor --
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public DcCtrlVo() {
|
||||
}
|
||||
|
||||
// -- Setter And Getter
|
||||
/**
|
||||
* Set sday : 当前清分日. SDAY: CHAR(8)
|
||||
*/
|
||||
public void setSday(String sday){
|
||||
this.sday = sday;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sday : 当前清分日. SDAY: CHAR(8)
|
||||
*/
|
||||
public String getSday(){
|
||||
return this.sday;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set prevPrevStmtDay : 上二清分日期. PREV_PREV_STMT_DAY: CHAR(8)
|
||||
*/
|
||||
public void setPrevPrevStmtDay(String prevPrevStmtDay){
|
||||
this.prevPrevStmtDay = prevPrevStmtDay;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get prevPrevStmtDay : 上二清分日期. PREV_PREV_STMT_DAY: CHAR(8)
|
||||
*/
|
||||
public String getPrevPrevStmtDay(){
|
||||
return this.prevPrevStmtDay;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set prevStmtDay : 上一清分日期. PREV_STMT_DAY: CHAR(8)
|
||||
*/
|
||||
public void setPrevStmtDay(String prevStmtDay){
|
||||
this.prevStmtDay = prevStmtDay;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get prevStmtDay : 上一清分日期. PREV_STMT_DAY: CHAR(8)
|
||||
*/
|
||||
public String getPrevStmtDay(){
|
||||
return this.prevStmtDay;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set nextDate : 下一清分日期. NEXT_DATE: CHAR(8)
|
||||
*/
|
||||
public void setNextDate(String nextDate){
|
||||
this.nextDate = nextDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get nextDate : 下一清分日期. NEXT_DATE: CHAR(8)
|
||||
*/
|
||||
public String getNextDate(){
|
||||
return this.nextDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set cycleDate : 轮循清分日期. CYCLE_DATE: CHAR(8)
|
||||
*/
|
||||
public void setCycleDate(String cycleDate){
|
||||
this.cycleDate = cycleDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get cycleDate : 轮循清分日期. CYCLE_DATE: CHAR(8)
|
||||
*/
|
||||
public String getCycleDate(){
|
||||
return this.cycleDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set dayCutUpdt : 日切开始时间. DAY_CUT_UPDT: CHAR(14)
|
||||
*/
|
||||
public void setDayCutUpdt(String dayCutUpdt){
|
||||
this.dayCutUpdt = dayCutUpdt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get dayCutUpdt : 日切开始时间. DAY_CUT_UPDT: CHAR(14)
|
||||
*/
|
||||
public String getDayCutUpdt(){
|
||||
return this.dayCutUpdt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set fepProcSt : 前置包处理品状态. FEP_PROC_ST: CHAR(2)
|
||||
*/
|
||||
public void setFepProcSt(String fepProcSt){
|
||||
this.fepProcSt = fepProcSt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get fepProcSt : 前置包处理品状态. FEP_PROC_ST: CHAR(2)
|
||||
*/
|
||||
public String getFepProcSt(){
|
||||
return this.fepProcSt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set batchSt : 批处理状态. BATCH_ST: CHAR(2)
|
||||
*/
|
||||
public void setBatchSt(String batchSt){
|
||||
this.batchSt = batchSt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get batchSt : 批处理状态. BATCH_ST: CHAR(2)
|
||||
*/
|
||||
public String getBatchSt(){
|
||||
return this.batchSt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set updtDt : 修改时间. UPDT_DT: CHAR(14)
|
||||
*/
|
||||
public void setUpdtDt(String updtDt){
|
||||
this.updtDt = updtDt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updtDt : 修改时间. UPDT_DT: CHAR(14)
|
||||
*/
|
||||
public String getUpdtDt(){
|
||||
return this.updtDt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set versionDt : 参数版本时间. VERSION_DT: CHAR(14)
|
||||
*/
|
||||
public void setVersionDt(String versionDt){
|
||||
this.versionDt = versionDt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get versionDt : 参数版本时间. VERSION_DT: CHAR(14)
|
||||
*/
|
||||
public String getVersionDt(){
|
||||
return this.versionDt;
|
||||
}
|
||||
|
||||
/**
|
||||
* get currentTime : 当前时间
|
||||
*/
|
||||
public String getCurrentTime() {
|
||||
return currentTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* set currentTime : 当前时间
|
||||
*/
|
||||
public void setCurrentTime(String currentTime) {
|
||||
this.currentTime = currentTime;
|
||||
}
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* EntityBean: TBL_DC_SUBWAY_CHANGE_STATION 地铁换乘站点表 : TBL_DC_SUBWAY_CHANGE_STATION
|
||||
* This is a value object(VO).
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
public class DcDcSubwayChangeStationVo implements java.io.Serializable {
|
||||
|
||||
/** default Serial Version UID*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
// -- Fields --
|
||||
/** stationId : 站点ID. STATION_ID: VARCHAR2(32 CHAR) */
|
||||
private String stationId ;
|
||||
|
||||
/** standardId : 标准化站点ID. STANDARD_ID: VARCHAR2(32 CHAR) */
|
||||
private String standardId ;
|
||||
|
||||
// -- Constructor --
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public DcDcSubwayChangeStationVo() {
|
||||
// Default Construtor
|
||||
}
|
||||
|
||||
public DcDcSubwayChangeStationVo(String stationId, String standardId) {
|
||||
this.stationId = stationId;
|
||||
this.standardId = standardId;
|
||||
}
|
||||
|
||||
// -- Setter And Getter
|
||||
/**
|
||||
* Set stationId : 站点ID. STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setStationId(String stationId){
|
||||
this.stationId = stationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get stationId : 站点ID. STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getStationId(){
|
||||
return this.stationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set standardId : 标准化站点ID. STANDARD_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setStandardId(String standardId){
|
||||
this.standardId = standardId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get standardId : 标准化站点ID. STANDARD_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getStandardId(){
|
||||
return this.standardId;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,98 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* EntityBean: TBL_DC_SUBWAY_MILEAGE 地铁站点里程表 : TBL_DC_SUBWAY_MILEAGE
|
||||
* This is a value object(VO).
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
public class DcDcSubwayMileageVo implements java.io.Serializable {
|
||||
|
||||
/** default Serial Version UID*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
// -- Fields --
|
||||
/** inStationId : 进站ID. IN_STATION_ID: VARCHAR2(32 CHAR) */
|
||||
private String inStationId ;
|
||||
|
||||
/** outStationId : 出站ID. OUT_STATION_ID: VARCHAR2(32 CHAR) */
|
||||
private String outStationId ;
|
||||
|
||||
/** mileage : 里程. MILEAGE: NUMBER(10) */
|
||||
private Long mileage ;
|
||||
|
||||
/** carMileage : 驾车里程. CAR_MILEAGE: NUMBER(10) */
|
||||
private Long carMileage ;
|
||||
|
||||
// -- Constructor --
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public DcDcSubwayMileageVo() {
|
||||
// Default Construtor
|
||||
}
|
||||
|
||||
public DcDcSubwayMileageVo(String inStationId, String outStationId) {
|
||||
this.inStationId = inStationId;
|
||||
this.outStationId = outStationId;
|
||||
}
|
||||
|
||||
public DcDcSubwayMileageVo(Long mileage, Long carMileage) {
|
||||
this.mileage = mileage;
|
||||
this.carMileage = carMileage;
|
||||
}
|
||||
|
||||
// -- Setter And Getter
|
||||
/**
|
||||
* Set inStationId : 进站ID. IN_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setInStationId(String inStationId){
|
||||
this.inStationId = inStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get inStationId : 进站ID. IN_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getInStationId(){
|
||||
return this.inStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set outStationId : 出站ID. OUT_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setOutStationId(String outStationId){
|
||||
this.outStationId = outStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get outStationId : 出站ID. OUT_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getOutStationId(){
|
||||
return this.outStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set mileage : 里程. MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public void setMileage(Long mileage){
|
||||
this.mileage = mileage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mileage : 里程. MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public Long getMileage(){
|
||||
return this.mileage;
|
||||
}
|
||||
|
||||
public Long getCarMileage() {
|
||||
return carMileage;
|
||||
}
|
||||
|
||||
public void setCarMileage(Long carMileage) {
|
||||
this.carMileage = carMileage;
|
||||
}
|
||||
}
|
@ -0,0 +1,459 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* EntityBean: TBL_DC_NFC_TRAVEL_NOTICE NFC卡交易推送表 : TBL_DC_NFC_TRAVEL_NOTICE
|
||||
* This is a value object(VO).
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
public class DcNfcTravelNoticeVo implements java.io.Serializable {
|
||||
|
||||
/** default Serial Version UID*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
// -- Fields --
|
||||
/** seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR) */
|
||||
private String seqNo ;
|
||||
|
||||
/** txnLock : 锁标志. TXN_LOCK: CHAR(1) */
|
||||
private String txnLock ;
|
||||
|
||||
/** txnTime : 锁时间. TXN_TIME: CHAR(14) */
|
||||
private String txnTime ;
|
||||
|
||||
/** travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR) */
|
||||
private String travelNo ;
|
||||
|
||||
/** transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR) */
|
||||
private String transType ;
|
||||
|
||||
/** inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14) */
|
||||
private String inTransTime ;
|
||||
|
||||
/** outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14) */
|
||||
private String outTransTime ;
|
||||
|
||||
/** cardNo : 卡号. CARD_NO: VARCHAR2(32 CHAR) */
|
||||
private String cardNo ;
|
||||
|
||||
/** userId : 用户号. USER_ID: VARCHAR2(32 CHAR) */
|
||||
private String userId ;
|
||||
|
||||
/** inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR) */
|
||||
private String inStationId ;
|
||||
|
||||
/** outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR) */
|
||||
private String outStationId ;
|
||||
|
||||
/** mileage : 里程数. MILEAGE: NUMBER(10) */
|
||||
private Long mileage ;
|
||||
|
||||
/** firstChannels : 推送一级机构号. FIRST_CHANNELS: VARCHAR2(512 CHAR) */
|
||||
private String firstChannels ;
|
||||
|
||||
/** secondChannels : 推送二级机构号. SECOND_CHANNELS: VARCHAR2(512 CHAR) */
|
||||
private String secondChannels ;
|
||||
|
||||
/** userTokens : 机构用户令牌. USER_TOKENS: VARCHAR2(512 CHAR) */
|
||||
private String userTokens ;
|
||||
|
||||
/** stlmDate : 清算日期. STLM_DATE : CHAR(8) */
|
||||
private String stlmDate;
|
||||
|
||||
/** status : 状态. STATUS: VARCHAR2(32 CHAR) */
|
||||
private String status ;
|
||||
|
||||
/** orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14) */
|
||||
private String orderCompleteTime ;
|
||||
|
||||
/** nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14) */
|
||||
private String nextSendTime ;
|
||||
|
||||
/** sendCount : 发送次数. SEND_COUNT: NUMBER(10) */
|
||||
private Long sendCount ;
|
||||
|
||||
/** sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR) */
|
||||
private String sendStatus ;
|
||||
|
||||
/** createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR) */
|
||||
private String createUser ;
|
||||
|
||||
/** createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR) */
|
||||
private String createTime ;
|
||||
|
||||
/** lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR) */
|
||||
private String lstUpdUser ;
|
||||
|
||||
/** lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14) */
|
||||
private String lstUpdTime ;
|
||||
|
||||
/** remark : 备注. REMARK: VARCHAR2(255 CHAR) */
|
||||
private String remark;
|
||||
// -- Constructor --
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public DcNfcTravelNoticeVo() {
|
||||
// Default Construtor
|
||||
}
|
||||
|
||||
public DcNfcTravelNoticeVo(String seqNo) {
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
// -- Setter And Getter
|
||||
/**
|
||||
* Set seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public void setSeqNo(String seqNo){
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get seqNo : 推送序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public String getSeqNo(){
|
||||
return this.seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set txnLock : 锁标志. TXN_LOCK: CHAR(1)
|
||||
*/
|
||||
public void setTxnLock(String txnLock){
|
||||
this.txnLock = txnLock;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get txnLock : 锁标志. TXN_LOCK: CHAR(1)
|
||||
*/
|
||||
public String getTxnLock(){
|
||||
return this.txnLock;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set txnTime : 锁时间. TXN_TIME: CHAR(14)
|
||||
*/
|
||||
public void setTxnTime(String txnTime){
|
||||
this.txnTime = txnTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get txnTime : 锁时间. TXN_TIME: CHAR(14)
|
||||
*/
|
||||
public String getTxnTime(){
|
||||
return this.txnTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setTravelNo(String travelNo){
|
||||
this.travelNo = travelNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get travelNo : 业务流水号. TRAVEL_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getTravelNo(){
|
||||
return this.travelNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setTransType(String transType){
|
||||
this.transType = transType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get transType : 交易类型. TRANS_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getTransType(){
|
||||
return this.transType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public void setInTransTime(String inTransTime){
|
||||
this.inTransTime = inTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get inTransTime : 进站时间. IN_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public String getInTransTime(){
|
||||
return this.inTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public void setOutTransTime(String outTransTime){
|
||||
this.outTransTime = outTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get outTransTime : 出站时间. OUT_TRANS_TIME: CHAR(14)
|
||||
*/
|
||||
public String getOutTransTime(){
|
||||
return this.outTransTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set cardNo : 卡号. CARD_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setCardNo(String cardNo){
|
||||
this.cardNo = cardNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get cardNo : 卡号. CARD_NO: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getCardNo(){
|
||||
return this.cardNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set userId : 用户号. USER_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setUserId(String userId){
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get userId : 用户号. USER_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getUserId(){
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setInStationId(String inStationId){
|
||||
this.inStationId = inStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get inStationId : 进站点ID. IN_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getInStationId(){
|
||||
return this.inStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setOutStationId(String outStationId){
|
||||
this.outStationId = outStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get outStationId : 出站点ID. OUT_STATION_ID: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getOutStationId(){
|
||||
return this.outStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set mileage : 里程数. MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public void setMileage(Long mileage){
|
||||
this.mileage = mileage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mileage : 里程数. MILEAGE: NUMBER(10)
|
||||
*/
|
||||
public Long getMileage(){
|
||||
return this.mileage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set firstChannels : 推送一级机构号. FIRST_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public void setFirstChannels(String firstChannels){
|
||||
this.firstChannels = firstChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get firstChannels : 推送一级机构号. FIRST_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public String getFirstChannels(){
|
||||
return this.firstChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set secondChannels : 推送二级机构号. SECOND_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public void setSecondChannels(String secondChannels){
|
||||
this.secondChannels = secondChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get secondChannels : 推送二级机构号. SECOND_CHANNELS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public String getSecondChannels(){
|
||||
return this.secondChannels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set userTokens : 机构用户令牌. USER_TOKENS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public void setUserTokens(String userTokens){
|
||||
this.userTokens = userTokens;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get userTokens : 机构用户令牌. USER_TOKENS: VARCHAR2(512 CHAR)
|
||||
*/
|
||||
public String getUserTokens(){
|
||||
return this.userTokens;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set status : 状态. STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setStatus(String status){
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get status : 状态. STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getStatus(){
|
||||
return this.status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14)
|
||||
*/
|
||||
public void setOrderCompleteTime(String orderCompleteTime){
|
||||
this.orderCompleteTime = orderCompleteTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get orderCompleteTime : 订单完成时间. ORDER_COMPLETE_TIME: CHAR(14)
|
||||
*/
|
||||
public String getOrderCompleteTime(){
|
||||
return this.orderCompleteTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14)
|
||||
*/
|
||||
public void setNextSendTime(String nextSendTime){
|
||||
this.nextSendTime = nextSendTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14)
|
||||
*/
|
||||
public String getNextSendTime(){
|
||||
return this.nextSendTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set sendCount : 发送次数. SEND_COUNT: NUMBER(10)
|
||||
*/
|
||||
public void setSendCount(Long sendCount){
|
||||
this.sendCount = sendCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sendCount : 发送次数. SEND_COUNT: NUMBER(10)
|
||||
*/
|
||||
public Long getSendCount(){
|
||||
return this.sendCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setSendStatus(String sendStatus){
|
||||
this.sendStatus = sendStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getSendStatus(){
|
||||
return this.sendStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setCreateUser(String createUser){
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getCreateUser(){
|
||||
return this.createUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR)
|
||||
*/
|
||||
public void setCreateTime(String createTime){
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR)
|
||||
*/
|
||||
public String getCreateTime(){
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setLstUpdUser(String lstUpdUser){
|
||||
this.lstUpdUser = lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getLstUpdUser(){
|
||||
return this.lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14)
|
||||
*/
|
||||
public void setLstUpdTime(String lstUpdTime){
|
||||
this.lstUpdTime = lstUpdTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14)
|
||||
*/
|
||||
public String getLstUpdTime(){
|
||||
return this.lstUpdTime;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getStlmDate() {
|
||||
return stlmDate;
|
||||
}
|
||||
|
||||
public void setStlmDate(String stlmDate) {
|
||||
this.stlmDate = stlmDate;
|
||||
}
|
||||
}
|
@ -0,0 +1,245 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* EntityBean: TBL_DC_NOTICE_ERROR 推送错误记录表 : TBL_DC_NOTICE_ERROR
|
||||
* This is a value object(VO).
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
public class DcNoticeErrorVo implements java.io.Serializable {
|
||||
|
||||
/** default Serial Version UID*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
// -- Fields --
|
||||
/** seqNo : 序号. SEQ_NO: VARCHAR2(64 CHAR) */
|
||||
private String seqNo ;
|
||||
|
||||
/** noticeSeqNo : 推送序号. NOTICE_SEQ_NO: VARCHAR2(64 CHAR) */
|
||||
private String noticeSeqNo ;
|
||||
|
||||
/** msgContent : 消息内容. MSG_CONTENT: CLOB */
|
||||
private String msgContent ;
|
||||
|
||||
/** noticeType : 推送类型. NOTICE_TYPE: VARCHAR2(32 CHAR) */
|
||||
private String noticeType ;
|
||||
|
||||
/** reason : 失败原因. REASON: VARCHAR2(255 CHAR) */
|
||||
private String reason ;
|
||||
|
||||
/** status : 状态. STATUS: VARCHAR2(32 CHAR) */
|
||||
private String status ;
|
||||
|
||||
/** nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14) */
|
||||
private String nextSendTime ;
|
||||
|
||||
/** sendCount : 发送次数. SEND_COUNT: NUMBER(10) */
|
||||
private Long sendCount ;
|
||||
|
||||
/** sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR) */
|
||||
private String sendStatus ;
|
||||
|
||||
/** createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR) */
|
||||
private String createUser ;
|
||||
|
||||
/** createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR) */
|
||||
private String createTime ;
|
||||
|
||||
/** lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR) */
|
||||
private String lstUpdUser ;
|
||||
|
||||
/** lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14) */
|
||||
private String lstUpdTime ;
|
||||
|
||||
// -- Constructor --
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public DcNoticeErrorVo() {
|
||||
// Default Construtor
|
||||
}
|
||||
|
||||
public DcNoticeErrorVo(String seqNo) {
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
// -- Setter And Getter
|
||||
/**
|
||||
* Set seqNo : 序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public void setSeqNo(String seqNo){
|
||||
this.seqNo = seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get seqNo : 序号. SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public String getSeqNo(){
|
||||
return this.seqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set noticeSeqNo : 推送序号. NOTICE_SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public void setNoticeSeqNo(String noticeSeqNo){
|
||||
this.noticeSeqNo = noticeSeqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get noticeSeqNo : 推送序号. NOTICE_SEQ_NO: VARCHAR2(64 CHAR)
|
||||
*/
|
||||
public String getNoticeSeqNo(){
|
||||
return this.noticeSeqNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set noticeType : 推送类型. NOTICE_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setNoticeType(String noticeType){
|
||||
this.noticeType = noticeType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get noticeType : 推送类型. NOTICE_TYPE: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getNoticeType(){
|
||||
return this.noticeType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set reason : 失败原因. REASON: VARCHAR2(255 CHAR)
|
||||
*/
|
||||
public void setReason(String reason){
|
||||
this.reason = reason;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get reason : 失败原因. REASON: VARCHAR2(255 CHAR)
|
||||
*/
|
||||
public String getReason(){
|
||||
return this.reason;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set status : 状态. STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setStatus(String status){
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get status : 状态. STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getStatus(){
|
||||
return this.status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14)
|
||||
*/
|
||||
public void setNextSendTime(String nextSendTime){
|
||||
this.nextSendTime = nextSendTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get nextSendTime : 下次发送时间. NEXT_SEND_TIME: CHAR(14)
|
||||
*/
|
||||
public String getNextSendTime(){
|
||||
return this.nextSendTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set sendCount : 发送次数. SEND_COUNT: NUMBER(10)
|
||||
*/
|
||||
public void setSendCount(Long sendCount){
|
||||
this.sendCount = sendCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sendCount : 发送次数. SEND_COUNT: NUMBER(10)
|
||||
*/
|
||||
public Long getSendCount(){
|
||||
return this.sendCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setSendStatus(String sendStatus){
|
||||
this.sendStatus = sendStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sendStatus : 发送状态. SEND_STATUS: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getSendStatus(){
|
||||
return this.sendStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setCreateUser(String createUser){
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get createUser : 创建用户. CREATE_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getCreateUser(){
|
||||
return this.createUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR)
|
||||
*/
|
||||
public void setCreateTime(String createTime){
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get createTime : 创建时间. CREATE_TIME: CHAR(14 CHAR)
|
||||
*/
|
||||
public String getCreateTime(){
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public void setLstUpdUser(String lstUpdUser){
|
||||
this.lstUpdUser = lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lstUpdUser : 最后更新用户. LST_UPD_USER: VARCHAR2(32 CHAR)
|
||||
*/
|
||||
public String getLstUpdUser(){
|
||||
return this.lstUpdUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14)
|
||||
*/
|
||||
public void setLstUpdTime(String lstUpdTime){
|
||||
this.lstUpdTime = lstUpdTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lstUpdTime : 最后更新时间. LST_UPD_TIME: CHAR(14)
|
||||
*/
|
||||
public String getLstUpdTime(){
|
||||
return this.lstUpdTime;
|
||||
}
|
||||
|
||||
public String getMsgContent() {
|
||||
return msgContent;
|
||||
}
|
||||
|
||||
public void setMsgContent(String msgContent) {
|
||||
this.msgContent = msgContent;
|
||||
}
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess;
|
||||
|
||||
public class Mileage {
|
||||
|
||||
/** carMileage: 驾车里程 */
|
||||
private Long carMileage;
|
||||
|
||||
/** subwayMileage: 地铁里程 */
|
||||
private Long subWayMileage;
|
||||
|
||||
public Long getCarMileage() {
|
||||
return carMileage;
|
||||
}
|
||||
|
||||
public void setCarMileage(Long carMileage) {
|
||||
this.carMileage = carMileage;
|
||||
}
|
||||
|
||||
public Long getSubWayMileage() {
|
||||
return subWayMileage;
|
||||
}
|
||||
|
||||
public void setSubWayMileage(Long subWayMileage) {
|
||||
this.subWayMileage = subWayMileage;
|
||||
}
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.dao;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.DcAsynCtrlVo;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* Interface: TBL_DC_ASYN_CTRL 系统时间片控制表 : TBL_DC_ASYN_CTRL
|
||||
* This is a interface.
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface DcAsynCtrlDao {
|
||||
|
||||
/** mapped key is : com.jiuyv.sptcc.market.dataProcess.model.dataProcess.dao.DcAsynCtrlDao.filterQuery */
|
||||
String MAPPED_FIND = "com.jiuyv.sptcc.market.dataProcess.model.dataProcess.dao.DcAsynCtrlDao.filterQuery";
|
||||
|
||||
/**
|
||||
* Find DcAsynCtrlVo by Primary Key.
|
||||
*
|
||||
* @param appId : 应用id
|
||||
* @return DcAsynCtrlVo : TBL_DC_ASYN_CTRL 系统时间片控制表
|
||||
*/
|
||||
DcAsynCtrlVo findByKey(String appId ) ;
|
||||
|
||||
/**
|
||||
* Find DcAsynCtrlVo by Primary Key.
|
||||
*
|
||||
* @param appId : 应用id
|
||||
* @return DcAsynCtrlVo : TBL_DC_ASYN_CTRL 系统时间片控制表
|
||||
*/
|
||||
DcAsynCtrlVo findByKeyForUpdate(String appId ) ;
|
||||
|
||||
/**
|
||||
* Update DcAsynCtrlVo by Primary Key.
|
||||
*
|
||||
* @return effect rows.
|
||||
* @author AutoCode4J
|
||||
*/
|
||||
int updateByKey(DcAsynCtrlVo vo);
|
||||
|
||||
|
||||
/**
|
||||
* Insert DcAsynCtrlVo.
|
||||
*
|
||||
* @return effect rows.
|
||||
* @author AutoCode4J
|
||||
*/
|
||||
int insert(DcAsynCtrlVo vo) ;
|
||||
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.dao;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.dto.console.BcTravelNoticeFilter;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.model.common.PageDomin;
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.*;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Options;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.apache.ibatis.cursor.Cursor;
|
||||
import org.apache.ibatis.mapping.ResultSetType;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* Interface: TBL_DC_BC_TRAVEL_NOTICE 二维码交易推送表 : TBL_DC_BC_TRAVEL_NOTICE
|
||||
* This is a interface.
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface DcBcTravelNoticeDao {
|
||||
|
||||
/** mapped key is : com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.dao.DcBcTravelNoticeDao.filterQuery */
|
||||
String MAPPED_FIND = "com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.dao.DcBcTravelNoticeDao.filterQuery";
|
||||
|
||||
/**
|
||||
* Find DcBcTravelNoticeVo by Primary Key.
|
||||
*
|
||||
* @param seqNo : 推送序号
|
||||
* @return DcBcTravelNoticeVo : TBL_DC_BC_TRAVEL_NOTICE 二维码交易推送表
|
||||
*/
|
||||
DcBcTravelNoticeVo findByKey(String seqNo ) ;
|
||||
|
||||
/**
|
||||
* Find DcNfcTravelNoticeVo by Primary Key.
|
||||
*
|
||||
* @param seqNo : 推送序号
|
||||
* @return DcNfcTravelNoticeVo : TBL_DC_NFC_TRAVEL_NOTICE NFC卡交易推送表
|
||||
*/
|
||||
DcBcTravelNoticeVo findByKeyForUpdate(String seqNo ) ;
|
||||
|
||||
/**
|
||||
* 查询当前时间片时间需要处理的交易
|
||||
* @param currentTime 时间片时间
|
||||
* @return 交易列表
|
||||
*/
|
||||
List<DcBcTravelNoticeVo> findByNextProcessTime(String currentTime);
|
||||
|
||||
/**
|
||||
* 根据行程单号查询行程
|
||||
* @param travelNo 行程单号
|
||||
* @return 行程
|
||||
*/
|
||||
DcBcTravelNoticeVo findByTravelNo(String travelNo);
|
||||
|
||||
/**
|
||||
* Update DcBcTravelNoticeVo by Primary Key.
|
||||
*
|
||||
* @return effect rows.
|
||||
* @author AutoCode4J
|
||||
*/
|
||||
int updateByKey(DcBcTravelNoticeVo vo);
|
||||
|
||||
|
||||
/**
|
||||
* Insert DcBcTravelNoticeVo.
|
||||
*
|
||||
* @return effect rows.
|
||||
* @author AutoCode4J
|
||||
*/
|
||||
int insert(DcBcTravelNoticeVo vo) ;
|
||||
|
||||
/**
|
||||
* 游标获取对账数据
|
||||
* @param filter 查询条件
|
||||
* @return 数据
|
||||
*/
|
||||
@Options(resultSetType = ResultSetType.FORWARD_ONLY, fetchSize = Integer.MIN_VALUE)
|
||||
Cursor<DcBcTravelNoticeVo> getNoticeForAcct(@Param("filter") BcTravelNoticeFilter filter);
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
* @param filter 查询条件
|
||||
* @param pageVo 分页参数
|
||||
* @return 数据
|
||||
*/
|
||||
List<com.jiuyv.sptcc.carbon.dataprocess.dto.console.DcBcTravelNoticeVo> page(@Param("filter") BcTravelNoticeFilter filter, @Param("pageVo") PageDomin pageVo);
|
||||
|
||||
/**
|
||||
* 查询总数
|
||||
* @param filter 查询条件
|
||||
* @return 数据
|
||||
*/
|
||||
Long count(@Param("filter")BcTravelNoticeFilter filter);
|
||||
|
||||
/**
|
||||
* 更新下次处理时间
|
||||
* @param bean 对象
|
||||
* @return 结果
|
||||
*/
|
||||
int updateNextProcess(DcBcTravelNoticeVo bean);
|
||||
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.dao;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.*;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* Interface: TBL_DC_CALC_FACTOR 计算因子表 : TBL_DC_CALC_FACTOR
|
||||
* This is a interface.
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface DcCalcFactorDao {
|
||||
|
||||
/** mapped key is : com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.dao.DcCalcFactorDao.filterQuery */
|
||||
String MAPPED_FIND = "com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.dao.DcCalcFactorDao.filterQuery";
|
||||
|
||||
/**
|
||||
* Find DcCalcFactorVo by Primary Key.
|
||||
*
|
||||
* @param version : VERSION
|
||||
* @return DcCalcFactorVo : TBL_DC_CALC_FACTOR 计算因子表
|
||||
*/
|
||||
DcCalcFactorVo findByKey(String version ) ;
|
||||
|
||||
/**
|
||||
* 查询所有因子
|
||||
* @return 因子列表
|
||||
*/
|
||||
List<DcCalcFactorVo> findAll();
|
||||
|
||||
/**
|
||||
* Update DcCalcFactorVo by Primary Key.
|
||||
*
|
||||
* @return effect rows.
|
||||
* @author AutoCode4J
|
||||
*/
|
||||
int updateByKey(DcCalcFactorVo vo);
|
||||
|
||||
|
||||
/**
|
||||
* Insert DcCalcFactorVo.
|
||||
*
|
||||
* @return effect rows.
|
||||
* @author AutoCode4J
|
||||
*/
|
||||
int insert(DcCalcFactorVo vo) ;
|
||||
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.dao;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.DcCtrlVo;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
|
||||
/**
|
||||
* Interface: TBL_DC_CTRL 系统控制表 : TBL_DC_CTRL
|
||||
* This is a interface.
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface DcCtrlDao {
|
||||
|
||||
/**
|
||||
* 获取清算日期
|
||||
* @return 清算日期
|
||||
*/
|
||||
DcCtrlVo selectSysInfo();
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.dao;
|
||||
|
||||
import com.jiuyv.sptcc.carbon.dataprocess.model.dataProcess.DcDcSubwayChangeStationVo;
|
||||
import org.apache.ibatis.annotations.MapKey;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
// Generated by AutoCode4J
|
||||
/**
|
||||
* Interface: TBL_DC_SUBWAY_CHANGE_STATION 地铁换乘站点表 : TBL_DC_SUBWAY_CHANGE_STATION
|
||||
* This is a interface.
|
||||
* Description:
|
||||
*
|
||||
* @author AutoCode4J
|
||||
* @version 1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface DcDcSubwayChangeStationDao {
|
||||
|
||||
/** mapped key is : com.jiuyv.sptcc.market.dataProcess.model.dataProcess.dao.DcSubwayChangeStationDao.filterQuery */
|
||||
String MAPPED_FIND = "com.jiuyv.sptcc.market.dataProcess.model.dataProcess.dao.DcSubwayChangeStationDao.filterQuery";
|
||||
|
||||
/**
|
||||
* Find DcSubwayChangeStationVo by Primary Key.
|
||||
*
|
||||
* @param stationId : 站点ID
|
||||
* @param standardId : 标准化站点ID
|
||||
* @return DcSubwayChangeStationVo : TBL_DC_SUBWAY_CHANGE_STATION 地铁换乘站点表
|
||||
*/
|
||||
DcDcSubwayChangeStationVo findByKey(String stationId , String standardId ) ;
|
||||
|
||||
/**
|
||||
* Find DcSubwayChangeStationVo by Primary Key.
|
||||
*
|
||||
* @return DcSubwayChangeStationVo : TBL_DC_SUBWAY_CHANGE_STATION 地铁换乘站点表
|
||||
*/
|
||||
@MapKey("stationId")
|
||||
Map<String, DcDcSubwayChangeStationVo> findAll() ;
|
||||
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue