| | |
| | | <select id="getList" resultType="com.zt.life.modules.project.model.SoftwareTestOrder"> |
| | | SELECT a.*, p.software_name,p.software_identity |
| | | FROM software_test_order a |
| | | INNER JOIN project p ON p.id = a.project_id |
| | | INNER JOIN project p ON p.id = a.project_id |
| | | <where> |
| | | a.is_delete = 0 and p.is_delete = 0 |
| | | <if test="whereSql!=null"> |
| | |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectOrderId" resultType="java.lang.String"> |
| | | SELECT code |
| | | FROM software_test_order |
| | | <where> |
| | | is_delete = 0 |
| | | <if test="projectId != null and projectId != ''"> |
| | | and project_id = ${projectId} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="dictList" resultType="com.zt.core.sys.dto.DictIstance"> |
| | | SET @row_number = 0; |
| | | SELECT concat('${softIdentity}', dd.dict_label) AS name, |