|
|
@@ -12,6 +12,7 @@ import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
import com.goafanti.common.enums.AttachmentType;
|
|
|
import com.goafanti.common.model.*;
|
|
|
+import com.goafanti.common.utils.DateUtils;
|
|
|
import com.goafanti.core.shiro.token.TokenManager;
|
|
|
import com.goafanti.order.bo.*;
|
|
|
import com.goafanti.order.enums.SalesTypes;
|
|
|
@@ -222,12 +223,7 @@ public class AdminNewOrderApiController extends CertifyApiController {
|
|
|
}
|
|
|
}
|
|
|
if (StringUtils.isNotBlank(signDate)) {
|
|
|
- SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
- try {
|
|
|
- t.setSignTime(sdf.parse(signDate));
|
|
|
- } catch (ParseException e) {
|
|
|
- e.printStackTrace();
|
|
|
- }
|
|
|
+ t.setSignTime(DateUtils.StringToDate(signDate,"yyyy-MM-dd"));
|
|
|
}
|
|
|
res.setData(orderNewService.updateServiceOrder(t,isSubmit));
|
|
|
return res;
|