|
@@ -80,7 +80,7 @@ public class TSubmittedController extends BaseRESTfulController {
|
|
|
PageList<TSubmitted> list = tSubmittedService.queryLikeForPage(parmas, pageNum, pageSize);
|
|
|
return success(list);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@ApiOperation(value="创建", notes="根据TSubmitted对象创建")
|
|
|
@ApiImplicitParam(name = "tSubmitted", value = "详细实体tSubmitted", required = true, dataType = "TSubmitted")
|
|
|
//@RequiresPermissions("tsubmitted:create")
|
|
@@ -168,8 +168,7 @@ public class TSubmittedController extends BaseRESTfulController {
|
|
|
String Signtime = model.getSigntime();
|
|
|
|
|
|
//将转换为字符串的日期进行截取,截取出月和日
|
|
|
- String mouth = Signtime.substring(5, 7);
|
|
|
- Integer maxid = tSubmittedService.MaxID(mouth);
|
|
|
+ Integer maxid = tSubmittedService.MaxID(model.getDeclareid());
|
|
|
model.setMaxid(new BigDecimal(maxid));
|
|
|
|
|
|
String datetime = DateUtils.getCurrentTime("yyyy-MM-dd");
|