update code
parent
895537a762
commit
f43818ff7d
|
@ -34,8 +34,8 @@ module.exports = {
|
|||
open: true,
|
||||
proxy: {
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
//target: `http://127.0.0.1:8090/jhapi`,
|
||||
target: `http://192.168.126.20:808/jhapi`,
|
||||
target: `http://127.0.0.1:8090/jhapi`,
|
||||
//target: `http://192.168.126.20:808/jhapi`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||
|
|
|
@ -187,7 +187,7 @@ public class SurProjectAuditinfoServiceImpl implements ISurProjectAuditinfoServi
|
|||
if(StringUtils.isNotEmpty(zlDataList)){
|
||||
for(Map<String, Object> map:zlDataList){
|
||||
String state = Convert.toStr(map.get("checkState"));
|
||||
if(Objects.equals(state,"0") || Objects.equals(state,"1")){
|
||||
if(Objects.equals(state,"0") || Objects.equals(state,"1") || Objects.equals(state,"3")){
|
||||
zlCount += Convert.toInt(map.get("total"));
|
||||
}
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ public class SurProjectAuditinfoServiceImpl implements ISurProjectAuditinfoServi
|
|||
if(StringUtils.isNotEmpty(aqDataList)){
|
||||
for(Map<String, Object> map:aqDataList){
|
||||
String state = Convert.toStr(map.get("checkState"));
|
||||
if(Objects.equals(state,"0") || Objects.equals(state,"1")){
|
||||
if(Objects.equals(state,"0") || Objects.equals(state,"1") || Objects.equals(state,"3")){
|
||||
aqCount += Convert.toInt(map.get("total"));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -262,7 +262,7 @@ PublicsController extends BaseController {
|
|||
flowTaskEntity.setNowUser(Convert.toStr(SecurityUtils.getUserId()));
|
||||
flowTaskEntity.setRoleIds(SecurityUtils.getLoginUser().getUser().getRoles().stream().map(role -> role.getRoleId()).collect(Collectors.toList()));
|
||||
flowTaskEntity.setNowUserName(getUsername());
|
||||
flowTaskEntity.setActiveName("await");
|
||||
flowTaskEntity.setActiveName("awaitSum");
|
||||
return success(surProjectAuditinfoService.findMyTask(flowTaskEntity));
|
||||
}
|
||||
|
||||
|
|
|
@ -70,6 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<!--管理员放开查询条件-->
|
||||
<if test='nowRole != "1" and nowRole != "2"'> and a.witness_user like concat('%', #{nowUserName}, '%')</if>
|
||||
<if test='activeName == "await"'> and a.approve_status='1'</if>
|
||||
<if test='activeName == "awaitSum"'> and a.approve_status in ('1','3') or a.approve_status is null</if>
|
||||
<if test='activeName == "finished"'> and a.approve_status in ('3','4')</if>
|
||||
<if test="businessKey != null and businessKey != ''"> and sp.id = #{businessKey}</if>
|
||||
<if test="businessKeyName != null and businessKeyName != ''"> and sp.projectName like concat('%', #{businessKeyName}, '%')</if>
|
||||
|
|
|
@ -71,6 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="detectionResult != null and detectionResult != ''"> and spcd.detection_result = #{detectionResult}</if>
|
||||
<!-- 查询条件-项目部门 -->
|
||||
<if test="projectDeptId != null "> and sp.deptId = #{projectDeptId}</if>
|
||||
<if test="projectName != null and projectName != ''"> and sp.projectName like concat('%', #{projectName}, '%')</if>
|
||||
<!--子部门数据-->
|
||||
<if test='nowRole == "4"'> and sp.deptId = #{nowDept}</if>
|
||||
<!--监理单位/总包公司/分包单位查询当前关联数据-->
|
||||
|
|
|
@ -56,6 +56,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="materialResult != null and materialResult != ''"> and spme.material_result = #{materialResult}</if>
|
||||
<if test="approveStatus != null and approveStatus != ''"> and spme.approve_status = #{approveStatus}</if>
|
||||
<if test="witnessUser != null and witnessUser != ''"> and (spme.witness_user like concat('%', #{witnessUser}, '%') or spme.witness_user_name like concat('%', #{witnessUser}, '%'))</if>
|
||||
|
||||
<if test="projectName != null and projectName != ''"> and sp.projectName like concat('%', #{projectName}, '%')</if>
|
||||
<!-- 查询条件-项目部门 -->
|
||||
<if test="projectDeptId != null "> and sp.deptId = #{projectDeptId}</if>
|
||||
<!--子部门数据-->
|
||||
|
|
|
@ -64,6 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="approveStatus != null and approveStatus != ''"> and spm.approve_status = #{approveStatus}</if>
|
||||
<!-- 查询条件-项目部门 -->
|
||||
<if test="projectDeptId != null "> and sp.deptId = #{projectDeptId}</if>
|
||||
<if test="projectName != null and projectName != ''"> and sp.projectName like concat('%', #{projectName}, '%')</if>
|
||||
<!--子部门数据-->
|
||||
<if test='nowRole == "4"'> and sp.deptId = #{nowDept}</if>
|
||||
<!--监理单位/总包公司/分包单位查询当前关联数据-->
|
||||
|
|
Loading…
Reference in New Issue