|
|
@@ -41,7 +41,7 @@ public class GuorenDuplicateInsuranceComponent {
|
|
|
dateFormatMap.put(8, "yyyyMMdd");
|
|
|
dateFormatMap.put(10, "yyyyMMddHH");
|
|
|
dateFormatMap.put(12, "yyyyMMddHHmm");
|
|
|
- dateFormatMap.put(16, "yyyyMMddHHmmss");
|
|
|
+ dateFormatMap.put(14, "yyyyMMddHHmmss");
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -75,7 +75,7 @@ public class GuorenDuplicateInsuranceComponent {
|
|
|
if (b) {
|
|
|
try {
|
|
|
String group = m.group(1);
|
|
|
- String startDate = group.replace(":", "").replace("-", "").replace(" ", "");
|
|
|
+ String startDate = group.replace(":", "").replace(":", "").replace("-", "").replace(" ", "");
|
|
|
String string = dateFormatMap.get(startDate.length());
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat(string);
|
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
@@ -87,7 +87,6 @@ public class GuorenDuplicateInsuranceComponent {
|
|
|
throw new SystemException(message);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 重复投保
|
|
|
*
|