<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package com.bcxin.sp.work.timer;

import com.bcxin.sp.work.service.user.zj.PlatCommunicateService;
import com.bcxin.sp.work.util.Const.GlobalConst;
import com.bcxin.sp.work.util.sys.ConfigUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * &lt;b&gt;Function &lt;/b&gt; 鍚屾娴欐睙鏁版嵁
 *
 * @author LuoPeng
 * @娉ㄦ剰浜嬮」 &lt;/b&gt;
 * &lt;b&gt;
 */
@Service
@Transactional
@Slf4j
public class SyncZJService {


    @Resource
    private PlatCommunicateService platCommunicateService;

    /**
     * 鍚屾娴欐睙璀︾患鐢ㄦ埛淇℃伅锛屽閲�
     * @throws Exception
     */
    public void syncUserData() {
        if (GlobalConst.ENVI_ZHEJIANG.endsWith(ConfigUtil.getValue("envi"))) {
            log.info("鍚屾娴欐睙璀︾患鐢ㄦ埛淇℃伅锛屽閲�");
            platCommunicateService.syncUserData();
        }
    }

}
</pre></body></html>