| | |
| | | AND FOOD_VARIETY_ = #{foodVariety} |
| | | ORDER by STANDARD_ID_ + 0 |
| | | </select> |
| | | <select id="getCheckItemByParam" resultType="com.ld.igds.check.dto.CheckItemData"> |
| | | select |
| | | VALUE_ as value |
| | | from |
| | | D_CHECK_ITEM |
| | | <where> |
| | | <if test="data.companyId != null and data.companyId != '' ">COMPANY_ID_= #{data.companyId}</if> |
| | | <if test="data.checkId != null and data.checkId != '' ">AND CHECK_ID_ = #{data.checkId}</if> |
| | | <if test="data.standardId != null and data.standardId != '' ">AND STANDARD_ID_ = #{data.standardId}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | </mapper> |