【DAOP-1.0】数据需求
【功能点】功能开发
Showing
2 changed files
with
3 additions
and
5 deletions
... | @@ -36,11 +36,11 @@ | ... | @@ -36,11 +36,11 @@ |
36 | <artifactId>csbr-cloud-base</artifactId> | 36 | <artifactId>csbr-cloud-base</artifactId> |
37 | <version>${cabr-package.version}</version> | 37 | <version>${cabr-package.version}</version> |
38 | </dependency> | 38 | </dependency> |
39 | <dependency> | 39 | <!-- <dependency> |
40 | <groupId>com.csbr.qingcloud</groupId> | 40 | <groupId>com.csbr.qingcloud</groupId> |
41 | <artifactId>csbr-cloud-log</artifactId> | 41 | <artifactId>csbr-cloud-log</artifactId> |
42 | <version>${cabr-package.version}</version> | 42 | <version>${cabr-package.version}</version> |
43 | </dependency> | 43 | </dependency>--> |
44 | <dependency> | 44 | <dependency> |
45 | <groupId>com.csbr.qingcloud</groupId> | 45 | <groupId>com.csbr.qingcloud</groupId> |
46 | <artifactId>csbr-cloud-mybatis</artifactId> | 46 | <artifactId>csbr-cloud-mybatis</artifactId> | ... | ... |
... | @@ -122,7 +122,6 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService | ... | @@ -122,7 +122,6 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService |
122 | * @return void | 122 | * @return void |
123 | */ | 123 | */ |
124 | @GlobalTransactional(rollbackFor = Exception.class) | 124 | @GlobalTransactional(rollbackFor = Exception.class) |
125 | @Transactional(rollbackFor = Exception.class) | ||
126 | @Override | 125 | @Override |
127 | public void saveDemand(FlowRQBaseVO flowBaseVO) { | 126 | public void saveDemand(FlowRQBaseVO flowBaseVO) { |
128 | DemandRQVO rqVO = (DemandRQVO) flowBaseVO; | 127 | DemandRQVO rqVO = (DemandRQVO) flowBaseVO; |
... | @@ -205,7 +204,6 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService | ... | @@ -205,7 +204,6 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService |
205 | * @return void | 204 | * @return void |
206 | */ | 205 | */ |
207 | @GlobalTransactional(rollbackFor = Exception.class) | 206 | @GlobalTransactional(rollbackFor = Exception.class) |
208 | @Transactional(rollbackFor = Exception.class) | ||
209 | @Override | 207 | @Override |
210 | public void removeByGuids(List<String> guids) { | 208 | public void removeByGuids(List<String> guids) { |
211 | if (CollectionUtils.isEmpty(guids)) { | 209 | if (CollectionUtils.isEmpty(guids)) { |
... | @@ -216,7 +214,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService | ... | @@ -216,7 +214,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService |
216 | for (String guid : guids) { | 214 | for (String guid : guids) { |
217 | MfDemand entity = mfDemandService.getById(guid); | 215 | MfDemand entity = mfDemandService.getById(guid); |
218 | beforeRemove(entity); | 216 | beforeRemove(entity); |
219 | boolean flag = mfDemandService.removeById(guid); | 217 | boolean flag = mfDemandService.removeById(entity); |
220 | if (!flag) { | 218 | if (!flag) { |
221 | throw new CsbrSystemException(SystemError.DATA_DEL_ERROR, messageSourceUtil.delMessage(FUNCTION_NAME)); | 219 | throw new CsbrSystemException(SystemError.DATA_DEL_ERROR, messageSourceUtil.delMessage(FUNCTION_NAME)); |
222 | } | 220 | } | ... | ... |
-
Please register or sign in to post a comment