|
|
@@ -2542,7 +2542,7 @@ public class AdminApiController extends CertifyApiController {
|
|
|
*/
|
|
|
@RequestMapping(value = "/disposeCenterDetail", method = RequestMethod.POST)
|
|
|
public Result disposeCenterDetail(@Valid InputOrgTechCenterDetail orgTechCenterDetail, BindingResult bindingResult,
|
|
|
- String projectTimeFormattedDate, String termTimeFormattedDate) {
|
|
|
+ String projectTimeFormattedDate, String termStartTimeFormattedDate, String termEndTimeFormattedDate) {
|
|
|
Result res = new Result();
|
|
|
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
@@ -2562,9 +2562,16 @@ public class AdminApiController extends CertifyApiController {
|
|
|
} catch (ParseException e) {
|
|
|
}
|
|
|
}
|
|
|
- if (!StringUtils.isBlank(termTimeFormattedDate)) {
|
|
|
+ if (!StringUtils.isBlank(termStartTimeFormattedDate)) {
|
|
|
try {
|
|
|
- orgTechCenterDetail.setTermTime(DateUtils.parseDate(termTimeFormattedDate, AFTConstants.YYYYMMDD));
|
|
|
+ orgTechCenterDetail.setTermStartTime(DateUtils.parseDate(termStartTimeFormattedDate, AFTConstants.YYYYMMDD));
|
|
|
+ } catch (ParseException e) {
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ if (!StringUtils.isBlank(termEndTimeFormattedDate)){
|
|
|
+ try {
|
|
|
+ orgTechCenterDetail.setTermEndTime(DateUtils.parseDate(termEndTimeFormattedDate, AFTConstants.YYYYMMDD));
|
|
|
} catch (ParseException e) {
|
|
|
}
|
|
|
}
|