|
|
@@ -12,30 +12,26 @@
|
|
12
|
12
|
*/
|
|
13
|
13
|
package com.unis.news.service.impl;
|
|
14
|
14
|
|
|
15
|
|
-import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
16
|
15
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
17
|
|
-import com.unis.news.entity.BizSinGrainBureauNotice;
|
|
18
|
|
-import com.unis.news.mapper.BizSinGrainBureauNoticeMapper;
|
|
19
|
|
-import com.unis.news.service.BizSinGrainBureauNoticeService;
|
|
|
16
|
+import com.unis.news.entity.BizSinStateCouncilNotice;
|
|
|
17
|
+import com.unis.news.mapper.BizSinStateCouncilNoticeMapper;
|
|
|
18
|
+import com.unis.news.service.BizSinStateCouncilNoticeService;
|
|
20
|
19
|
import org.springframework.stereotype.Service;
|
|
21
|
20
|
import org.springframework.transaction.annotation.Transactional;
|
|
22
|
21
|
|
|
23
|
|
-
|
|
24
|
22
|
/**
|
|
25
|
|
- * 要闻概况-粮食局公告管理表Service接口实现类
|
|
|
23
|
+ * 要闻概况-国务院公告管理表Service接口实现类
|
|
26
|
24
|
*
|
|
27
|
25
|
* @author qingsong.han
|
|
28
|
|
- * @date 2024/07/22 12:02
|
|
|
26
|
+ * @date 2024/07/23 10:18
|
|
29
|
27
|
**/
|
|
30
|
28
|
@Service
|
|
31
|
|
-public class BizSinGrainBureauNoticeServiceImpl extends ServiceImpl<BizSinGrainBureauNoticeMapper, BizSinGrainBureauNotice> implements BizSinGrainBureauNoticeService {
|
|
|
29
|
+public class BizSinStateCouncilNoticeServiceImpl extends ServiceImpl<BizSinStateCouncilNoticeMapper, BizSinStateCouncilNotice> implements BizSinStateCouncilNoticeService {
|
|
32
|
30
|
|
|
33
|
31
|
@Transactional(rollbackFor = Exception.class)
|
|
34
|
32
|
@Override
|
|
35
|
|
- public void add(BizSinGrainBureauNotice addParam) {
|
|
36
|
|
- // 先清除数据 TODO
|
|
37
|
|
- this.remove(new QueryWrapper<>());
|
|
38
|
|
- // 在保存
|
|
39
|
|
- this.save(addParam);
|
|
|
33
|
+ public void add(BizSinStateCouncilNotice addParam) {
|
|
|
34
|
+
|
|
40
|
35
|
}
|
|
|
36
|
+
|
|
41
|
37
|
}
|