chenhj
14 小时以前 253c24495ebc405492a40123bf42c74670979a7d
src/main/resources/mapper/quality/QualityUnqualifiedMapper.xml
@@ -16,6 +16,7 @@
        qu.deal_result,
        qu.deal_name,
        qu.deal_time,
        pm.uid_no,
        CASE
        WHEN qu.model = pm.id THEN pm.model
        ELSE qu.model
@@ -89,4 +90,11 @@
            1=1
        and qu.id = #{id}
    </select>
    <select id="getModelId" resultType="java.lang.Long">
        select pm.id
        from product_model pm
        left join product p on pm.product_id=p.id
        where pm.model=#{model}
          and  p.product_name=#{productName}
    </select>
</mapper>