新增病案查询接口,修改退费接口
This commit is contained in:
@@ -44,6 +44,12 @@
|
||||
SET status = 0
|
||||
WHERE orderno = #{orderno}
|
||||
</update>
|
||||
<update id="updateByCopies">
|
||||
UPDATE express
|
||||
SET copies = #{copies},
|
||||
amount = #{amount}
|
||||
WHERE id = #{id}
|
||||
</update>
|
||||
|
||||
<select id="checkSameNameRecordToday" resultType="java.lang.Boolean">
|
||||
SELECT COUNT(*) > 0
|
||||
@@ -61,4 +67,10 @@
|
||||
<select id="selectListByUserIdAndStatus" resultType="com.guahao.h5.reserve.vo.BingAnVO">
|
||||
SELECT * FROM express WHERE user_id = #{userId} and status = #{status} and deleted = 0 and orderno IS NOT NULL;
|
||||
</select>
|
||||
<select id="selectListByPatientId" resultType="com.guahao.h5.reserve.vo.BingAnVO">
|
||||
SELECT * FROM express WHERE patient_id = #{patientId} and deleted = 0;
|
||||
</select>
|
||||
<select id="selectListByHosNum" resultType="com.guahao.h5.reserve.vo.BingAnVO">
|
||||
SELECT * FROM express WHERE hos_number = #{hosNum} and deleted = 0;
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user