|
@ -28,10 +28,7 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
import java.math.BigDecimal; |
|
|
import java.math.BigDecimal; |
|
|
import java.util.ArrayList; |
|
|
import java.util.*; |
|
|
import java.util.HashMap; |
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
@ -239,7 +236,7 @@ public class BsSgcjsjdBuiProInfoService extends BaseService<BsSgcjsjdBuiProInfoM |
|
|
SysDept sysDept = sysDeptService.get(deptId); |
|
|
SysDept sysDept = sysDeptService.get(deptId); |
|
|
String xzqhId = sysDept.getXzqhId(); |
|
|
String xzqhId = sysDept.getXzqhId(); |
|
|
|
|
|
|
|
|
list = bsSgcjsjdBuiProInfoMapper.selectPageByCode(sysUser.getId(),data.getId(), data.getProjectName(), isMajor, data.getProjectType(), |
|
|
list = bsSgcjsjdBuiProInfoMapper.selectPageByCode(sysUser.getId(),sysUser.getUserType(),data.getId(), data.getProjectName(), isMajor, data.getProjectType(), |
|
|
sysXzqhService.getSubString(xzqhId), |
|
|
sysXzqhService.getSubString(xzqhId), |
|
|
"create_time", new Page<>(sp.getPageNum(), sp.getPageSize())); |
|
|
"create_time", new Page<>(sp.getPageNum(), sp.getPageSize())); |
|
|
|
|
|
|
|
@ -316,20 +313,21 @@ public class BsSgcjsjdBuiProInfoService extends BaseService<BsSgcjsjdBuiProInfoM |
|
|
use.setMs(list.get(i).getNum()); |
|
|
use.setMs(list.get(i).getNum()); |
|
|
} |
|
|
} |
|
|
for (int j = 0; j < list.size(); j++) { |
|
|
for (int j = 0; j < list.size(); j++) { |
|
|
if (list.get(i).getCity().equals(list.get(j).getCity()) |
|
|
if (!ObjectUtil.isEmpty(list.get(i).getCity())) { |
|
|
&& !list.get(i).getIsMajor().equals(list.get(j).getIsMajor())) { |
|
|
if (list.get(i).getCity().equals(list.get(j).getCity()) |
|
|
if (list.get(j).getIsMajor().equals("zd")) { |
|
|
&& !list.get(i).getIsMajor().equals(list.get(j).getIsMajor())) { |
|
|
use.setZd(list.get(j).getNum()); |
|
|
if (list.get(j).getIsMajor().equals("zd")) { |
|
|
|
|
|
use.setZd(list.get(j).getNum()); |
|
|
|
|
|
} else { |
|
|
|
|
|
use.setMs(list.get(j).getNum()); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
map.put(list.get(i).getCity(), use); |
|
|
} else { |
|
|
} else { |
|
|
use.setMs(list.get(j).getNum()); |
|
|
map.put(list.get(i).getCity(), use); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
map.put(list.get(i).getCity(), use); |
|
|
|
|
|
} else { |
|
|
|
|
|
map.put(list.get(i).getCity(), use); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|