forked from kidgrow-microservices-platform

侯瑞军
2020-04-26 a35a3d9d6ce42cd3a483a2204bc52479520bbb72
kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/ProductOrderMapper.xml
@@ -19,7 +19,7 @@
                and hospital_id = #{p.hospitalId}
            </if>
            <if test="p.hospitalName != null and p.hospitalName !=''">
                and hospital_name = #{p.hospitalName}
                and hospital_name like concat('%',#{p.hospitalName},'%')
            </if>
            <if test="p.departmentId != null and p.departmentId !=''">
                and department_id = #{p.departmentId}
@@ -76,6 +76,7 @@
        from product_order
        <include refid="where"/>
        order by id desc
        limit 1
    </select>
    <!--定义根据-ProductOrder当作查询条件返回对象集合-->