|
|
@@ -24,6 +24,7 @@ import com.fs.sop.service.IQwSopTempService;
|
|
|
import com.fs.sop.vo.UpdateRedVo;
|
|
|
import com.fs.voice.utils.StringUtil;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@@ -50,6 +51,8 @@ public class QwSopTempController extends BaseController
|
|
|
@Autowired
|
|
|
private IQwUserService iQwUserService;
|
|
|
|
|
|
+ @Value("${cloud_host.company_name}")
|
|
|
+ private String signProjectName;
|
|
|
|
|
|
@Autowired
|
|
|
private CompanyDeptServiceImpl companyDeptService;
|
|
|
@@ -141,6 +144,10 @@ public class QwSopTempController extends BaseController
|
|
|
public TableDataInfo deptList(QwSopTemp qwSopTemp)
|
|
|
{
|
|
|
|
|
|
+ if ("济南联志健康".equals(signProjectName)) {
|
|
|
+ return list(qwSopTemp);
|
|
|
+ }
|
|
|
+
|
|
|
LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
qwSopTemp.setCompanyId(loginUser.getCompany().getCompanyId());
|
|
|
|