zjh
6 天以前 cbc1828ae240e37a37670f2760b80649c11679e2
ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml
@@ -96,7 +96,7 @@
    <select id="selectTjCustomerByCusId" parameterType="Long" resultMap="TjCustomerResult">
        <include refid="selectTjCustomerVo"/>
        where cus_id = #{cusId} and deleted = '0'
        where cus_id = #{cusId}
    </select>
    <insert id="insertTjCustomer" parameterType="TjCustomer" useGeneratedKeys="true" keyProperty="cusId">
@@ -309,6 +309,7 @@
  LEFT JOIN tj_report r ON o.tj_number = r.tj_number
WHERE
  c.cus_idcard = #{card} AND c.cus_name = #{name} AND c.deleted = 0
        and o.create_time > #{time}
        ORDER BY
        o.create_time DESC
    </select>