1.监督计划功能调整
2.全过程功能调整
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user