更新医保身份证获取方式,和his缴费字段。
This commit is contained in:
@@ -701,9 +701,18 @@ public class XmlUtil {
|
||||
str.append("<PayNature>");
|
||||
str.append(vo.getPaynature());
|
||||
str.append("</PayNature>");
|
||||
str.append("<PayType>");
|
||||
str.append("微信");
|
||||
str.append("</PayType>");
|
||||
// 当vo.getYbzhamount和ybtcamount都是0的时候,且zfamount>=0则此处用微信,其他情况用医保
|
||||
if ((vo.getYbzhamount() == null || vo.getYbzhamount().compareTo(BigDecimal.valueOf(0.00)) == 0) &&
|
||||
(vo.getYbtcamount() == null || vo.getYbtcamount().compareTo(BigDecimal.valueOf(0.00)) == 0) &&
|
||||
vo.getZfamount().compareTo(BigDecimal.valueOf(0.00)) >= 0) {
|
||||
str.append("<PayType>");
|
||||
str.append("自费");
|
||||
str.append("</PayType>");
|
||||
} else {
|
||||
str.append("<PayType>");
|
||||
str.append("医保");
|
||||
str.append("</PayType>");
|
||||
}
|
||||
str.append("<PowerTranID>");
|
||||
str.append(vo.getPowertranid());
|
||||
str.append("</PowerTranID>");
|
||||
|
||||
Reference in New Issue
Block a user