update:获取微信账单增加住院订单标识
This commit is contained in:
@@ -976,6 +976,11 @@ public class GetDateController {
|
||||
break;
|
||||
case 6: // 商户订单号
|
||||
bankbillHistory.setCShddh(value);
|
||||
if (value != null && value.startsWith("YC")) {
|
||||
bankbillHistory.setIsInpatient("1");
|
||||
} else {
|
||||
bankbillHistory.setIsInpatient("0");
|
||||
}
|
||||
break;
|
||||
case 7: // 用户标识
|
||||
bankbillHistory.setCCard(value);
|
||||
@@ -1790,6 +1795,12 @@ public class GetDateController {
|
||||
bankbillHistory.setCShddh(row.get(25).replaceAll("`", ""));
|
||||
bankbillHistory.setCCard(row.get(7).replaceAll("`", ""));
|
||||
bankbillHistory.setCYsddh(row.get(6).replaceAll("`", ""));
|
||||
String shddh = row.get(25).replaceAll("`", "");
|
||||
if (shddh != null && shddh.startsWith("YC")) {
|
||||
bankbillHistory.setIsInpatient("1");
|
||||
} else {
|
||||
bankbillHistory.setIsInpatient("0");
|
||||
}
|
||||
|
||||
// 处理交易金额,不跳过0.00的记录
|
||||
String amount = row.get(46).replaceAll("`", "");
|
||||
|
||||
@@ -84,6 +84,7 @@ public class BankbillHistory implements Serializable {
|
||||
* 商户订单号
|
||||
*/
|
||||
private String cShddh;
|
||||
private String isInpatient;
|
||||
/**
|
||||
* 备注字段
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user