| | |
| | | <delete id="deleteByDocId"> |
| | | delete from nc_doc_info where doc_id = #{docId} |
| | | </delete> |
| | | <select id="findDocExtList" parameterType="String" resultType="DocInfo"> |
| | | <select id="findDocExtList" parameterType="String" resultType="com.lxzn.framework.domain.nc.DocInfo"> |
| | | select |
| | | u.doc_id |
| | | ,r.classification_id |
| | |
| | | </select> |
| | | |
| | | |
| | | <select id="findDeviceDocExtList" parameterType="String" resultType="DocInfo"> |
| | | <select id="findDeviceDocExtList" parameterType="String" resultType="com.lxzn.framework.domain.nc.DocInfo"> |
| | | select |
| | | u.doc_id |
| | | ,r.classification_id |
| | |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | |
| | | <select id="findByAttrAndDocName" parameterType="Map" resultType="DocInfo"> |
| | | <select id="findByAttrAndDocName" parameterType="Map" resultType="com.lxzn.framework.domain.nc.DocInfo"> |
| | | select r.doc_id |
| | | ,r.attribution_id |
| | | ,r.attribution_type |
| | |
| | | where d.delete_flag=0 and d.doc_name=#{docName} and d.doc_suffix=#{docSuffix} |
| | | </select> |
| | | |
| | | <select id="getByDocAttrAndDocId" parameterType="Map" resultType="DocInfo"> |
| | | <select id="getByDocAttrAndDocId" parameterType="Map" resultType="com.lxzn.framework.domain.nc.DocInfo"> |
| | | select r.doc_id |
| | | ,r.attribution_id |
| | | ,r.attribution_type |
| | |
| | | where d.delete_flag=0 |
| | | </select> |
| | | |
| | | <select id="getByDocId" parameterType="String" resultType="DocInfo"> |
| | | <select id="getByDocId" parameterType="String" resultType="com.lxzn.framework.domain.nc.DocInfo"> |
| | | select r.doc_id |
| | | ,r.attribution_id |
| | | ,r.attribution_type |