修复xml传递字段,自费改为微信,pacs时间往后+1
This commit is contained in:
@@ -285,6 +285,12 @@ public class DateUtils {
|
|||||||
Date startDate = inputFormat.parse(startTime);
|
Date startDate = inputFormat.parse(startTime);
|
||||||
|
|
||||||
Date endDate = inputFormat.parse(endTime);
|
Date endDate = inputFormat.parse(endTime);
|
||||||
|
|
||||||
|
// 结束日期加一天
|
||||||
|
Calendar calendar = Calendar.getInstance();
|
||||||
|
calendar.setTime(endDate);
|
||||||
|
calendar.add(Calendar.DAY_OF_MONTH, 1);
|
||||||
|
endDate = calendar.getTime();
|
||||||
|
|
||||||
// 定义输出格式
|
// 定义输出格式
|
||||||
SimpleDateFormat outputFormat = new SimpleDateFormat("yyyyMMdd");
|
SimpleDateFormat outputFormat = new SimpleDateFormat("yyyyMMdd");
|
||||||
|
|||||||
@@ -706,7 +706,7 @@ public class XmlUtil {
|
|||||||
(vo.getYbtcamount() == null || vo.getYbtcamount().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) {
|
vo.getZfamount().compareTo(BigDecimal.valueOf(0.00)) >= 0) {
|
||||||
str.append("<PayType>");
|
str.append("<PayType>");
|
||||||
str.append("自费");
|
str.append("微信");
|
||||||
str.append("</PayType>");
|
str.append("</PayType>");
|
||||||
} else {
|
} else {
|
||||||
str.append("<PayType>");
|
str.append("<PayType>");
|
||||||
|
|||||||
Reference in New Issue
Block a user