| | |
| | | type, |
| | | entrust_code, |
| | | company, |
| | | sample, |
| | | sample_view, |
| | | remark, |
| | | create_time, |
| | | state |
| | |
| | | from standard_method |
| | | where id = #{id} |
| | | </select> |
| | | <select id="getStandardMethodReportText" resultType="java.lang.String"> |
| | | select case |
| | | when name is null or trim(name) = '' then code |
| | | else concat(code, '《', name, '》') |
| | | end |
| | | from standard_method |
| | | where id = #{id} |
| | | </select> |
| | | <select id="getStandardMethodReportTextByCode" resultType="java.lang.String"> |
| | | select case |
| | | when name is null or trim(name) = '' then code |
| | | else concat(code, '《', name, '》') |
| | | end |
| | | from standard_method |
| | | where code = #{code} |
| | | limit 1 |
| | | </select> |
| | | <select id="selLaboratoryCode" resultType="java.lang.String"> |
| | | select laboratory_code |
| | | from laboratory |