|
@@ -537,4 +537,20 @@ public class BidNoticeController extends BaseController {
|
|
|
return error("获取虚拟子账户失败");
|
|
|
}
|
|
|
|
|
|
+ @Log(title = "延后开标时间",businessType = BusinessType.UPDATE)
|
|
|
+ @PutMapping("/updateOpenTime")
|
|
|
+ public AjaxResult updateOpenTime(@RequestBody BidNotice bidNotice){
|
|
|
+ Long uid = bidNotice.getUid();
|
|
|
+ Date date = bidNotice.getuKaiTime();
|
|
|
+
|
|
|
+ BidNotice bidNotice1 = bidNoticeService.selectBidNoticeByUid(uid);
|
|
|
+ Date uKaiTime = bidNotice1.getuKaiTime();
|
|
|
+
|
|
|
+
|
|
|
+ if(date.compareTo(uKaiTime) < 0){
|
|
|
+ return toAjax(0);
|
|
|
+ }
|
|
|
+ return toAjax(bidNoticeService.updateOpenTime(bidNotice));
|
|
|
+ }
|
|
|
+
|
|
|
}
|