|
@@ -9,6 +9,7 @@ import org.fouram.core.util.LoggerUtil;
|
|
import org.fouram.entity.SapUser;
|
|
import org.fouram.entity.SapUser;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
@Service
|
|
@Service
|
|
public class TaskService extends BaseService {
|
|
public class TaskService extends BaseService {
|
|
@@ -18,6 +19,7 @@ public class TaskService extends BaseService {
|
|
@Autowired
|
|
@Autowired
|
|
private SapUserService sapUserService;
|
|
private SapUserService sapUserService;
|
|
|
|
|
|
|
|
+ @Transactional
|
|
public void syncWeixinUser() {
|
|
public void syncWeixinUser() {
|
|
LoggerUtil.info("同步开始->" + DateUtil.getTime());
|
|
LoggerUtil.info("同步开始->" + DateUtil.getTime());
|
|
try {
|
|
try {
|