|
@@ -296,14 +296,15 @@ namespace PTMedicalInsurance.Forms
|
|
|
string errorMsg = "";
|
|
|
JObject joRtn = new JObject();
|
|
|
Global.pat.insuplc_admdvs = tbCBD_Hand.Text;
|
|
|
- //if (Chk_DealNo.Checked)
|
|
|
- //{
|
|
|
- // joRtn = invoker.invokeCenterService(tb_DealNo.Text, JsonHelper.setCenterInpar(tb_DealNo.Text, rtbInparam.Text));
|
|
|
- //}
|
|
|
- //else
|
|
|
- //{
|
|
|
- joRtn = invoker.invokeCenterService(TradeEnum.ReverseTransaction, JObject.Parse(rtbInparam.Text));
|
|
|
- //}
|
|
|
+ if (Chk_DealNo.Checked)
|
|
|
+ {
|
|
|
+ //自定义交易
|
|
|
+ joRtn = invoker.invokeCenterService(JsonHelper.setCenterInpar(tb_DealNo.Text, JObject.Parse(rtbInparam.Text)));
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ joRtn = invoker.invokeCenterService(TradeEnum.ReverseTransaction, JObject.Parse(rtbInparam.Text));
|
|
|
+ }
|
|
|
if (JsonHelper.parseCenterRtnValue(joRtn, out errorMsg) != 0)
|
|
|
{
|
|
|
MessageBox.Show("调用失败:" + errorMsg);
|