日期bug修复
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ public class SarPublicIdeaController extends BaseController<SarPublicIdea> {
|
||||
//
|
||||
Calendar c2 = Calendar.getInstance();
|
||||
c2.setTime(sarPublicIdea.getEndTime());
|
||||
c2.add(Calendar.DAY_OF_MONTH, 2);// 今天+1天
|
||||
c2.add(Calendar.DAY_OF_MONTH, 1);// 今天+1天
|
||||
sarPublicIdea.setEndTime(c2.getTime());
|
||||
|
||||
sarPublicIdeaService.save(sarPublicIdea);
|
||||
|
||||
Reference in New Issue
Block a user