From 05eb2cdd3935addfbb1cc55b0e11bea5924eed28 Mon Sep 17 00:00:00 2001 From: liquanyu Date: Tue, 11 Apr 2017 17:21:44 +0800 Subject: [PATCH] update --- .../main/resources/mainOrm/master/MasterLis.xml | 106 +++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 platform-biz-service/src/main/resources/mainOrm/master/MasterLis.xml diff --git a/platform-biz-service/src/main/resources/mainOrm/master/MasterLis.xml b/platform-biz-service/src/main/resources/mainOrm/master/MasterLis.xml new file mode 100644 index 0000000..7078112 --- /dev/null +++ b/platform-biz-service/src/main/resources/mainOrm/master/MasterLis.xml @@ -0,0 +1,106 @@ + + + + + + INSERT INTO LIS_REPORT_TBL( + LIS_ID, + TITLE, + TYPE, + VCCARDNO, + NAME, + BHNUM, + AGE, + SEX, + APPLY_TIME, + CHECK_TIME, + PUBLISH_TIME, + APPLY_DOCTOR, + APPLY_DEPT, + CHECKER, + MODIFIED, + CREATED, + HOSPITAL_ID + ) VALUES ( + #{lisId}, + #{title}, + #{type}, + #{vcCardNo}, + #{name}, + #{ bhnum}, + #{age}, + #{sex}, + #{applyTime}, + #{checkTime}, + #{publishTime}, + #{applyDoctor}, + #{applyDept}, + #{checker}, + #{modified}, + #{created}, + #{hospitalId} + ) + + + + + insert into LIS_REPORT_ITEM_TBL ( + LIS_ID, + CODE, + NAME, + RESULT, + RESULT_FLAG, + REF, + RESULT_TYPE, + UNIT, + PRINT_ORDER, + HOSPITAL_ID + ) + values + + ( + #{item.rId}, + #{item.code}, + #{item.name}, + #{item.result}, + #{item.resultFlag}, + #{item.ref}, + #{item.resultType}, + #{item.unit}, + #{item.modifyDate}, + #{item.printOrder}, + #{item.hospitalId} + ) + + + + + DELETE FROM LIS_REPORT_TBL WHERE LIS_ID = #{lisId} AND HOSPITAL_ID = #{hospitalId} + + + + \ No newline at end of file -- 1.8.3.1