zss
10 天以前 0ed3d6d60ece4effae6072556165a0aad9fe8f9f
inspect-server/src/main/resources/mapper/InsSampleMapper.xml
@@ -84,9 +84,9 @@
        <if test="sampleCode !=null and sampleCode!=''">
            and (isa.sample_code like CONCAT ('%', #{sampleCode},'%') )
        </if>
        <if test="userName !=null and userName!=''">
            and ( (userName like CONCAT ('%', #{userName},'%') )
            or (checkName like CONCAT ('%', #{userName},'%') ) )
        <if test="myName !=null and myName!=''">
            and ( (userName like CONCAT ('%', #{myName},'%') )
            or (checkName like CONCAT ('%', #{myName},'%') ) )
        </if>
        ) a
        ON ios.ins_order_id = a.id AND ios.laboratory = #{sonLaboratory} and ios.ins_sample_id=a.sampleId