Browse Source

消缺事务开启

zhongwei
tyty 1 year ago
parent
commit
1c30179850
  1. 2
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/service/impl/DefectCheckServiceImpl.java

2
hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/service/impl/DefectCheckServiceImpl.java

@ -107,7 +107,7 @@ public class DefectCheckServiceImpl extends BaseServiceImpl<OperPhenomenonMapper
* @return
*/
@Override
//@Transactional(rollbackFor = Exception.class)
@Transactional(rollbackFor = Exception.class)
public OperPhenomenonEntity startCheck(OperPhenomenonEntity entity) {
// 步骤1.保存现象
if (!this.savePhenomenon(entity)) {

Loading…
Cancel
Save