1.监督计划功能调整

2.全过程功能调整
This commit is contained in:
2024-10-31 13:21:00 +08:00
parent fad0e10203
commit 35d05dd3ac
12 changed files with 177 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
FROM openjdk:8-jdk-alpine
ADD target/processboot.jar processboot.jar
ENTRYPOINT ["java","-jar","/processboot.jar"]
ENTRYPOINT ["/bin/sh", "-c" , "echo 25.36.214.50 dwzyywzt-pms3-proxy.com >> /etc/hosts && echo 25.36.227.20 pms.pms30.com.cn >> /etc/hosts && echo 25.36.181.69 8d051549520e423ab8dccf8b3d457c74.apigw.he-region-2.sgic.sgcc.com.cn >> /etc/hosts && exec java -jar processboot.jar" ]
EXPOSE 10222
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \&& echo 'Asia/Shanghai' >/etc/timezone

View File

@@ -21,4 +21,6 @@ public interface SupvFileMapper extends BaseMapper<SupvFile> {
List<SupvFile> selectPlanFile(@Param("param") SupvFileParam param);
List<SupvFile> selecProblemtFile(@Param("param") SupvFileParam param);
List<SupvFile> selectSimpleFile(@Param("param") SupvFileParam param);
}

View File

@@ -47,4 +47,25 @@
</if>
</where>
</select>
<select id="selectSimpleFile" resultType="com.njcn.process.pojo.po.SupvFile">
select
sf.*
from
supv_file sf
<where>
<if test="param!=null and param.ids != null and param.ids.size > 0">
AND busi_Id IN
<foreach collection='param.ids' item='item' index="index" open='(' separator=',' close=')'>
#{item}
</foreach>
</if>
<if test="param!=null and param.type != null ">
AND sf.type = #{param.type}
</if>
<if test="param!=null and param.attachmentType != null and param.attachmentType != ''">
AND sf.attachment_Type = #{param.attachmentType}
</if>
</where>
</select>
</mapper>

View File

@@ -91,8 +91,12 @@ public class SupvFileServiceImpl extends ServiceImpl<SupvFileMapper, SupvFile> i
public List<SupvFile> listFile(SupvFileParam param) {
if (param.getType()==0){
return this.baseMapper.selectPlanFile(param);
}else if(param.getType()==1){
return this.baseMapper.selecProblemtFile(param);
}else {
return this.baseMapper.selectSimpleFile(param);
}
return this.baseMapper.selecProblemtFile(param);
}
@Override