| | |
| | | |
| | | |
| | | <select id="getAccessoryFileByProjectId" resultType="com.gkhy.assess.system.domain.AssAccessoryFile"> |
| | | select id,file_name,path,module_type,project_id,del_flag,origin_name,create_time from ass_accessory_file |
| | | select id,file_name,path,module_type,project_id,process_id,del_flag,origin_name,create_time from ass_accessory_file |
| | | where project_id=#{projectId} and del_flag=0 and module_type=#{moduleType} |
| | | <if test="processId!=null and processId!=''"> |
| | | and process_id=#{processId} |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="getAccessoryFileCountByProjectId" resultType="java.lang.Integer"> |
| | | select count(1) from ass_accessory_file |
| | | where project_id=#{projectId} and del_flag=0 and module_type=#{moduleType} |
| | | <if test="processId!=null and processId!=''"> |
| | | and process_id=#{processId} |
| | | </if> |
| | | </select> |
| | | </mapper> |