|
@@ -42,7 +42,7 @@ import java.util.stream.Collectors; |
|
@@ -42,7 +42,7 @@ import java.util.stream.Collectors; |
42
|
*/
|
42
|
*/
|
43
|
@Service
|
43
|
@Service
|
44
|
@Slf4j
|
44
|
@Slf4j
|
45
|
-//@Transactional(rollbackFor = Exception.class)
|
45
|
+@Transactional(rollbackFor = Exception.class)
|
46
|
public class ProjectServiceImpl implements ProjectService {
|
46
|
public class ProjectServiceImpl implements ProjectService {
|
47
|
|
47
|
|
48
|
@Autowired
|
48
|
@Autowired
|
|
@@ -270,9 +270,9 @@ public class ProjectServiceImpl implements ProjectService { |
|
@@ -270,9 +270,9 @@ public class ProjectServiceImpl implements ProjectService { |
270
|
}
|
270
|
}
|
271
|
|
271
|
|
272
|
@Override
|
272
|
@Override
|
273
|
- @Transactional(propagation = Propagation.SUPPORTS)
|
273
|
+ //@Transactional(propagation = Propagation.SUPPORTS)
|
274
|
public No_3_1Tall_Dto no3_1_1GetType(String id) {
|
274
|
public No_3_1Tall_Dto no3_1_1GetType(String id) {
|
275
|
- Synthesize_no_1 byId = no_1Service.getById(id);
|
275
|
+ Synthesize_no_1 byId = no_1Service.getById(id);
|
276
|
byId.setCountState("1");
|
276
|
byId.setCountState("1");
|
277
|
no_1Service.updateById(byId);
|
277
|
no_1Service.updateById(byId);
|
278
|
String[] split = byId.getEnergyType().split(",");// 1供电 2供热 3供冷 4热水
|
278
|
String[] split = byId.getEnergyType().split(",");// 1供电 2供热 3供冷 4热水
|