作者 kgy

na

... ... @@ -32,6 +32,7 @@ public class No3_1_1GetTypeListener {
List<Synthesize_no_2_1> synthesize_no_2_1s = event.getSynthesize_no_2_1s();
/**
* 对数据进行判断
*
*/
for (Synthesize_no_2_1 synthesize_no_2_1 : synthesize_no_2_1s) {
boolean flag = false;
... ...
... ... @@ -42,6 +42,8 @@ public class MyController {
private final Synthesize_no_1ClientNameService synthesize_no_1ClientNameService;
private final Synthesize_no_1ClientNameMapper synthesize_no_1ClientNameMapper;
@PostMapping("found")
... ...
... ... @@ -42,7 +42,7 @@ import java.util.stream.Collectors;
*/
@Service
@Slf4j
//@Transactional(rollbackFor = Exception.class)
@Transactional(rollbackFor = Exception.class)
public class ProjectServiceImpl implements ProjectService {
@Autowired
... ... @@ -270,9 +270,9 @@ public class ProjectServiceImpl implements ProjectService {
}
@Override
@Transactional(propagation = Propagation.SUPPORTS)
//@Transactional(propagation = Propagation.SUPPORTS)
public No_3_1Tall_Dto no3_1_1GetType(String id) {
Synthesize_no_1 byId = no_1Service.getById(id);
Synthesize_no_1 byId = no_1Service.getById(id);
byId.setCountState("1");
no_1Service.updateById(byId);
String[] split = byId.getEnergyType().split(",");// 1供电 2供热 3供冷 4热水
... ...
spring:
profiles:
#开发时使用下面注释
active: dev
# active: dev
# 打包时使用下面注释
# active: dev2
active: prod
... ...