Commit 5a430b90 by 陶光胜

门店查询接口

parent 2093899a
......@@ -455,8 +455,13 @@ public class StoreController extends DownloadUtils {
return null;
}
private String getDateValue(int dateType, String value) throws ParseException {
return this.getToDateStrFormat(dateType).format(this.getToDateFormat(dateType).parse(value));
private String getDateValue(int dateType, String value) {
try{
return this.getToDateStrFormat(dateType).format(this.getToDateFormat(dateType).parse(value));
}catch (Exception e){
logger.warn(e);
}
return null;
}
private SimpleDateFormat getToDateStrFormat(int dateType){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment