|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.kms.build.service; |
|
|
|
|
|
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
|
import com.jianwei.common.core.domain.SearchParam; |
|
|
@ -45,11 +46,23 @@ public class BsSgcJsjdBuiProgressService extends BaseService<BsSgcJsjdBuiProgres |
|
|
|
BsSgcJsjdBuiProgress data = sp.getData(); |
|
|
|
|
|
|
|
assert sysUser != null; |
|
|
|
String isMajor = null; |
|
|
|
|
|
|
|
String projectType = data.getProjectType(); |
|
|
|
if (!ObjectUtil.isNull(projectType)) { |
|
|
|
String[] split = projectType.split(","); |
|
|
|
isMajor = split[0]; |
|
|
|
if (" ".equals(split[1])) { |
|
|
|
projectType = null; |
|
|
|
} else { |
|
|
|
projectType = split[1]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
IPage<BsSgcJsjdBuiProgress> list = bsSgcJsjdBuiProgressMapper.getProgress(sysUser.getId(), sysUser.getUserType(), data.getId(), data.getProjectName(), |
|
|
|
data.getProjectType(), |
|
|
|
projectType, |
|
|
|
sysXzqhService.getSubString(xzqhId), |
|
|
|
"create_time",new Page<>(sp.getPageNum(), sp.getPageSize())); |
|
|
|
"create_time",new Page<>(sp.getPageNum(), sp.getPageSize()),isMajor); |
|
|
|
return list; |
|
|
|
} |
|
|
|
} |
|
|
|