|
@@ -20,6 +20,7 @@ import com.rongwei.sfcommon.sys.service.DepartmentAndPersonnelService;
|
|
|
import lombok.extern.log4j.Log4j2;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
import java.util.LinkedList;
|
|
@@ -40,6 +41,7 @@ public class DepartmentAndPersonnelServiceImpl implements DepartmentAndPersonnel
|
|
|
private DepartmentAndPersonnelDao departmentAndPersonnelDao;
|
|
|
|
|
|
@Override
|
|
|
+ @Transactional
|
|
|
public R departmentAndPersonnel(DepartmentAndPersonnelReq req) {
|
|
|
//部门数据
|
|
|
List<DepartmentVo> departmentList = req.getDepartmentList();
|