From fcf705e1f9a369cab61e60d72048c36a0e1ee793 Mon Sep 17 00:00:00 2001 From: guoyuji <guoyujie@ng.com> Date: 星期四, 07 三月 2024 13:48:26 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override --- north-glass-erp/src/main/java/com/example/erp/service/pp/ReworkService.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/north-glass-erp/src/main/java/com/example/erp/service/pp/ReworkService.java b/north-glass-erp/src/main/java/com/example/erp/service/pp/ReworkService.java index a4132da..1dd2231 100644 --- a/north-glass-erp/src/main/java/com/example/erp/service/pp/ReworkService.java +++ b/north-glass-erp/src/main/java/com/example/erp/service/pp/ReworkService.java @@ -14,6 +14,7 @@ import com.example.erp.service.userInfo.SysErrorService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.interceptor.TransactionAspectSupport; import java.text.SimpleDateFormat; @@ -23,6 +24,7 @@ @Service @DS("pp") +@Transactional(rollbackFor = Exception.class) public class ReworkService { @Autowired ReworkMapper reworkMapper; -- Gitblit v1.8.0