流程结束
This commit is contained in:
parent
a75e1404e9
commit
4eedded2b2
|
@ -49,7 +49,7 @@ public class temButtom {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void test01() {
|
public void test01() {
|
||||||
String a = AESUtil.encrypt("hzya1314");
|
String a = AESUtil.encrypt("COco###2025");
|
||||||
System.out.println(a);
|
System.out.println(a);
|
||||||
String b = AESUtil.decrypt("62e4295b615a30dbf3b8ee96f41c820b");
|
String b = AESUtil.decrypt("62e4295b615a30dbf3b8ee96f41c820b");
|
||||||
System.out.println(b);
|
System.out.println(b);
|
||||||
|
|
|
@ -855,6 +855,63 @@ public class ZxBankServiceImpl extends BaseService<ZxBankEntity, String> impleme
|
||||||
JSONArray detailArray = businessDataStr.getJSONArray(mxtableName);
|
JSONArray detailArray = businessDataStr.getJSONArray(mxtableName);
|
||||||
if(detailArray != null && detailArray.size() > 0){
|
if(detailArray != null && detailArray.size() > 0){
|
||||||
for (int i = 0; i < detailArray.size(); i++) {
|
for (int i = 0; i < detailArray.size(); i++) {
|
||||||
|
//对公付款单
|
||||||
|
if("formmain_0327".equals(tableName)){
|
||||||
|
if(detailArray.getJSONObject(i).getString("field0135") == null
|
||||||
|
|| detailArray.getJSONObject(i).getInteger("field0135") <= 0){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//招待报销单
|
||||||
|
if("formmain_0294".equals(tableName)) {
|
||||||
|
if(detailArray.getJSONObject(i).getString("field0100") == null
|
||||||
|
|| detailArray.getJSONObject(i).getInteger("field0100") <= 0){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//日常报销单
|
||||||
|
if("formmain_0314".equals(tableName)) {
|
||||||
|
if(detailArray.getJSONObject(i).getString("field0215") == null
|
||||||
|
|| detailArray.getJSONObject(i).getInteger("field0215") <= 0){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 差旅报销单-新
|
||||||
|
if("formmain_0533".equals(tableName)) {
|
||||||
|
if(detailArray.getJSONObject(i).getString("field0215") == null
|
||||||
|
|| detailArray.getJSONObject(i).getInteger("field0215") <= 0){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 借还款
|
||||||
|
if("formmain_0293".equals(tableName)) {
|
||||||
|
if(detailArray.getJSONObject(i).getString("field0077") == null
|
||||||
|
|| detailArray.getJSONObject(i).getInteger("field0077") <= 0){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//资金归集
|
||||||
|
if("formmain_0362".equals(tableName)) {
|
||||||
|
if(detailArray.getJSONObject(i).getString("field0004") == null
|
||||||
|
|| detailArray.getJSONObject(i).getInteger("field0004") <= 0){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//资金拨付
|
||||||
|
if("formmain_0464".equals(tableName)) {
|
||||||
|
if(detailArray.getJSONObject(i).getString("field0004") == null
|
||||||
|
|| detailArray.getJSONObject(i).getInteger("field0004") <= 0){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//同名账户划转
|
||||||
|
if("formmain_0467".equals(tableName)) {
|
||||||
|
if(detailArray.getJSONObject(i).getString("field0020") == null
|
||||||
|
|| detailArray.getJSONObject(i).getInteger("field0020") <= 0){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//组装发送数据
|
//组装发送数据
|
||||||
JSONObject sendData = getSendData(mainData, detailArray.getJSONObject(i),tableName,mxtableName);
|
JSONObject sendData = getSendData(mainData, detailArray.getJSONObject(i),tableName,mxtableName);
|
||||||
//发送数据
|
//发送数据
|
||||||
|
|
Loading…
Reference in New Issue