|
|
|
@ -235,7 +235,12 @@ public class TradeuploadController {
|
|
|
|
|
}
|
|
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
|
|
if(StringUtils.isNotEmpty(PrintTime) && PrintTime.length() == 10){
|
|
|
|
|
tradeuploadCrForm.setPoundDate(sdf.parse(PrintTime));
|
|
|
|
|
try {
|
|
|
|
|
tradeuploadCrForm.setPoundDate(sdf.parse(PrintTime));
|
|
|
|
|
}catch (Exception e){
|
|
|
|
|
tradeuploadCrForm.setPoundDate(new Date());
|
|
|
|
|
}
|
|
|
|
|
// tradeuploadCrForm.setPoundDate(sdf.parse(PrintTime));
|
|
|
|
|
}else{
|
|
|
|
|
tradeuploadCrForm.setPoundDate(new Date());
|
|
|
|
|
}
|
|
|
|
|