| | |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | </resultMap> |
| | | <select id="exportDncPageQuery" resultType="org.springblade.mdm.program.vo.NcProgramExportDncPageVO"> |
| | | select a.id,a.nc_program_id,p.name,p.nc_node_id,p.part_no,p.part_no_edition,p.process_name,a.create_time from mdm_nc_program_approved a inner join mdm_nc_program p on a.nc_program_id=p.id |
| | | select a.id,n.name,a.nc_node_id,n.drawing_no,n.drawing_no_edition,n.process_name,a.create_time from mdm_nc_program_approved a |
| | | inner join mdm_nc_node n on a.nc_node_id=n.id |
| | | where a.is_deleted=0 |
| | | <where> |
| | | <if test="query.name!=null and query.name!=''"> |
| | | and p.name like CONCAT('%', #{query.name,jdbcType=VARCHAR},'%') |
| | | and n.name like CONCAT('%', #{query.name,jdbcType=VARCHAR},'%') |
| | | </if> |
| | | |
| | | <if test="query.passTimeBegin!=null"> |