付款排程改动
This commit is contained in:
		
							parent
							
								
									d5d5864386
								
							
						
					
					
						commit
						a4b6374aae
					
				|  | @ -78,19 +78,20 @@ public class ScheduleListPlugin extends AbstractListPlugin { | ||||||
|                     if (!payapply.getBoolean("shjh_sourceadjustment")) { |                     if (!payapply.getBoolean("shjh_sourceadjustment")) { | ||||||
|                         //来源SAP |                         //来源SAP | ||||||
|                         String sourcesystem = bill.getString("shjh_sourcesystem"); |                         String sourcesystem = bill.getString("shjh_sourcesystem"); | ||||||
|                         if ("A".equals(sourcesystem)) { | //                        if ("A".equals(sourcesystem)) { | ||||||
|                             JSONArray IT_INPUT = createInputJSONArray(bill, status); | //                            JSONArray IT_INPUT = createInputJSONArray(bill, status); | ||||||
|                             JSONObject jsonObjects = unlocked_status(IT_INPUT, bill.getString("billno")); | //                            JSONObject jsonObjects = unlocked_status(IT_INPUT, bill.getString("billno")); | ||||||
|                             String code = jsonObjects.getString("code"); | //                            String code = jsonObjects.getString("code"); | ||||||
|                             if (!"0".equals(code)) { | //                            if (!"0".equals(code)) { | ||||||
|                                 log.info("付款排程单:" + bill.getString("billno") + "状态(SAP)" + action + "失败:" + jsonObjects.getString("msg")); | //                                log.info("付款排程单:" + bill.getString("billno") + "状态(SAP)" + action + "失败:" + jsonObjects.getString("msg")); | ||||||
|                             } else { | //                            } else { | ||||||
|                                 log.info("付款排程单:" + bill.getString("billno") + "状态(SAP)" + action + "成功"); | //                                log.info("付款排程单:" + bill.getString("billno") + "状态(SAP)" + action + "成功"); | ||||||
|                                 //反审核 | //                                //反审核 | ||||||
|                                 //closeOrUnauditApply(payapply,"unaudit"); | //                                //closeOrUnauditApply(payapply,"unaudit"); | ||||||
|                             } | //                            } | ||||||
|                             return; | //                            return; | ||||||
|                         }else if ("B".equals(sourcesystem)) { | //                        }else | ||||||
|  |                             if ("B".equals(sourcesystem)) { | ||||||
|                             //若来源为费控,调用费控状态修改接口 |                             //若来源为费控,调用费控状态修改接口 | ||||||
|                             //先付后记(其他付款、劳务报销单、SAP会员退卡单)回写付款状态 |                             //先付后记(其他付款、劳务报销单、SAP会员退卡单)回写付款状态 | ||||||
|                             JSONObject jsonObjects = backpayment_status(createInputJSONArrays(bill),bill.getString("billno")); |                             JSONObject jsonObjects = backpayment_status(createInputJSONArrays(bill),bill.getString("billno")); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue