|
|
@@ -200,14 +200,14 @@ class BankManager: BaseManager {
|
|
|
if var reqPacket = BankAdapter.packetByBankcancelReq(param: param) {
|
|
|
networkManager.sendData(packet: &reqPacket, rspMainClassCode: nil) { (isCompleted, error, rspPacket) in
|
|
|
if !isCompleted {
|
|
|
- //发送信息失败
|
|
|
+ /// 发送信息失败
|
|
|
callback(false,nil,nil)
|
|
|
return
|
|
|
}
|
|
|
|
|
|
BankAdapter.analyByBankCancelRsq(packet: rspPacket as! MTP2SocketPacket50, callback: { (isCompleted, error, bankCancel) in
|
|
|
if !isCompleted{
|
|
|
- //报文解析失败
|
|
|
+ /// 报文解析失败
|
|
|
callback(false,error,nil)
|
|
|
return
|
|
|
}
|
|
|
@@ -512,15 +512,13 @@ class BankManager: BaseManager {
|
|
|
callback(false, error, nil)
|
|
|
return
|
|
|
}
|
|
|
- // 构建查询参数
|
|
|
+ /// 构建查询参数
|
|
|
let param = ("cusBankId", cusBankId)
|
|
|
-
|
|
|
-
|
|
|
- // 调用通用查询方法
|
|
|
+ /// 调用通用查询方法
|
|
|
QueryCommonHelper.queryCommon(statement: Statement.QUERYBANKINFO, targetClass: MoBankInfo.self, params: [param]) {
|
|
|
isCompleted, error, results, protobufInfos in
|
|
|
if !isCompleted {
|
|
|
- // 查询失败
|
|
|
+ /// 查询失败
|
|
|
callback(false, error, nil)
|
|
|
return
|
|
|
}
|