This commit is contained in:
parent
13c5c5dab5
commit
17e173392f
|
@ -57,6 +57,42 @@ public class temButtom {
|
|||
@Autowired
|
||||
private PayResultPluginInitializer payResultPluginInitializer;
|
||||
|
||||
@Test
|
||||
public void payApplyExtTest(){
|
||||
String bodys = "{\n" +
|
||||
" \"amount\": \"12000\",\n" +
|
||||
" \"applyCodeField\": \"field0086\",\n" +
|
||||
" \"billName\": \"资金使用审批表(其他)\",\n" +
|
||||
" \"busType\": \"202\",\n" +
|
||||
" \"cnapsCode\": \"00031342444\",\n" +
|
||||
" \"currency\": \"10\",\n" +
|
||||
" \"dataSourceCode\": \"master\",\n" +
|
||||
" \"finishedflag\": \"1\",\n" +
|
||||
" \"formsonId\": \"8364887433640955440\",\n" +
|
||||
" \"oaId\": \"-4951125123923096260\",\n" +
|
||||
" \"payAccount\": \"8110801013602348528\",\n" +
|
||||
" \"payBankName\": \"中信银行绍兴分行\",\n" +
|
||||
" \"payCompany\": \"绍兴市越城区建设投资有限公司\",\n" +
|
||||
" \"payDateField\": \"field0070\",\n" +
|
||||
" \"payResultField\": \"field0069\",\n" +
|
||||
" \"personalFlag\": \"0\",\n" +
|
||||
" \"receipt\": \"\",\n" +
|
||||
" \"receiptFiled\": \"\",\n" +
|
||||
" \"referenceNum\": \"ZJSY202407030002-1\",\n" +
|
||||
" \"revAccount\": \"7122459925896517\",\n" +
|
||||
" \"revAccountName\": \"越城区人民医院\",\n" +
|
||||
" \"revBankName\": \"中国农业银行绍兴支行\",\n" +
|
||||
" \"sort\": \"1\",\n" +
|
||||
" \"startDate\": \"2024-07-03 11:34:29.999000\",\n" +
|
||||
" \"summaryId\": \"7384107412543258850\",\n" +
|
||||
" \"tableName\": \"formson_0222\",\n" +
|
||||
" \"title\": \"《资金使用审批表》-ZJSY202407030002\"\n" +
|
||||
"}";
|
||||
SysExtensionApiEntity api = new SysExtensionApiEntity();
|
||||
api.setBodys(bodys);
|
||||
cbs8ExtService.payApply(api);
|
||||
System.out.println("111");
|
||||
}
|
||||
@Test
|
||||
public void cbs8PluginTest(){
|
||||
try {
|
||||
|
@ -100,15 +136,15 @@ public class temButtom {
|
|||
@Test
|
||||
public void cbs8ExtTest(){
|
||||
PaymentEntity paymentEntity = new PaymentEntity();
|
||||
paymentEntity.setReferenceNum("CL202406140003");
|
||||
paymentEntity.setReferenceNum("ZJSY202407030002-1");
|
||||
paymentEntity.setPayAccount("655905707410000");
|
||||
paymentEntity.setPayBankName("");
|
||||
paymentEntity.setAmount("99.02");
|
||||
paymentEntity.setRevAccount("123456778");
|
||||
paymentEntity.setRevBankName("中国工商银行总行清算中心");
|
||||
paymentEntity.setAmount("12000");
|
||||
paymentEntity.setRevAccount("7122459925896517");
|
||||
paymentEntity.setRevBankName("中国农业银行绍兴支行");
|
||||
paymentEntity.setRevBankType("ICB");
|
||||
paymentEntity.setRevAccountName("测试账户");
|
||||
paymentEntity.setCnapsCode("102100099996");
|
||||
paymentEntity.setCnapsCode("00031342444");
|
||||
paymentEntity.setPurpose("测试用途");
|
||||
paymentEntity.setBusType("202");
|
||||
paymentEntity.setCurrency("10");
|
||||
|
|
Loading…
Reference in New Issue