1
This commit is contained in:
@@ -22,6 +22,8 @@ import com.ruoyi.jarvis.service.IXbGroupService;
|
|||||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
import com.ruoyi.common.core.page.TableDataInfo;
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
import static com.ruoyi.common.utils.DateUtils.getNowDate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 线报群信息Controller
|
* 线报群信息Controller
|
||||||
*
|
*
|
||||||
@@ -88,6 +90,7 @@ public class XbGroupController extends BaseController
|
|||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@RequestBody XbGroup xbGroup)
|
public AjaxResult add(@RequestBody XbGroup xbGroup)
|
||||||
{
|
{
|
||||||
|
xbGroup.setCreateDate(getNowDate());
|
||||||
return toAjax(xbGroupService.insertXbGroup(xbGroup));
|
return toAjax(xbGroupService.insertXbGroup(xbGroup));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -98,6 +101,7 @@ public class XbGroupController extends BaseController
|
|||||||
@PutMapping
|
@PutMapping
|
||||||
public AjaxResult edit(@RequestBody XbGroup xbGroup)
|
public AjaxResult edit(@RequestBody XbGroup xbGroup)
|
||||||
{
|
{
|
||||||
|
xbGroup.setUpdateDate(getNowDate());
|
||||||
return toAjax(xbGroupService.updateXbGroup(xbGroup));
|
return toAjax(xbGroupService.updateXbGroup(xbGroup));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ public class XbMessageController extends BaseController
|
|||||||
List<XbMessageItem> children = xbMessageItemService.selectXbMessageItemList(item);
|
List<XbMessageItem> children = xbMessageItemService.selectXbMessageItemList(item);
|
||||||
xbMessageCache.setChildren(children);
|
xbMessageCache.setChildren(children);
|
||||||
}
|
}
|
||||||
|
dataTable.setRows(rows);
|
||||||
}
|
}
|
||||||
return dataTable;
|
return dataTable;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user