Commit f4dbc47d65bce53a809003c6a2c817551af2ae8c
1 parent
bff3f11096
Exists in
master
and in
1 other branch
add statistics(map)
Showing 3 changed files with 27 additions and 27 deletions
platform-mommyData/src/main/resources/earlyOrm/Mommy.xml
View file @
f4dbc47
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| 3 | 3 | <mapper namespace="MommyMapper"> |
| 4 | 4 | |
| 5 | - <resultMap id="MommyExamineInfoResultMap" type="MommyExamineInfo"> | |
| 5 | + <resultMap id="MommyExamineInfoResultMap" type="com.lymsh.mommybaby.earlydata.model.MommyExamineInfo"> | |
| 6 | 6 | <result column="EI_ID" property="eiId" jdbcType="VARCHAR"/> |
| 7 | 7 | <result column="EI_NAME" property="eiName" jdbcType="VARCHAR"/> |
| 8 | 8 | <result column="EI_VALUEMODEID" property="eiValuemodeid" jdbcType="VARCHAR"/> |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | EI_ID,EI_NAME,EI_VALUEMODEID,EI_VALUEUNITID,EI_DATATYPEID |
| 15 | 15 | </sql> |
| 16 | 16 | |
| 17 | - <select id="selectMommyExamineInfo" resultMap="MommyExamineInfoResultMap" parameterType="OracleCommonQuery"> | |
| 17 | + <select id="selectMommyExamineInfo" resultMap="MommyExamineInfoResultMap" parameterType="com.lymsh.mommybaby.earlydata.model.OracleCommonQuery"> | |
| 18 | 18 | select |
| 19 | 19 | <include refid="MommyExamineInfoColumns"/> |
| 20 | 20 | from (select<include refid="MommyExamineInfoColumns"/>,rownum r |
| ... | ... | @@ -33,7 +33,7 @@ |
| 33 | 33 | |
| 34 | 34 | |
| 35 | 35 | |
| 36 | - <resultMap id="MommyEmployeeResultMap" type="MommyEmployee"> | |
| 36 | + <resultMap id="MommyEmployeeResultMap" type="com.lymsh.mommybaby.earlydata.model.MommyEmployee"> | |
| 37 | 37 | <result column="E_ID" property="eId" jdbcType="VARCHAR"/> |
| 38 | 38 | <result column="E_NAME" property="eName" jdbcType="VARCHAR"/> |
| 39 | 39 | <result column="E_SEX" property="eSex" jdbcType="INTEGER"/> |
| ... | ... | @@ -46,7 +46,7 @@ |
| 46 | 46 | E_ID,E_NAME,E_SEX,E_HOSPITALID,E_JOBTITLEID,E_DEPTID |
| 47 | 47 | </sql> |
| 48 | 48 | |
| 49 | - <select id="selectMommyEmployee" resultMap="MommyEmployeeResultMap" parameterType="OracleCommonQuery"> | |
| 49 | + <select id="selectMommyEmployee" resultMap="MommyEmployeeResultMap" parameterType="com.lymsh.mommybaby.earlydata.model.OracleCommonQuery"> | |
| 50 | 50 | select |
| 51 | 51 | <include refid="MommyEmployeeColumns"/> |
| 52 | 52 | from (select<include refid="MommyEmployeeColumns"/>,rownum r |
| ... | ... | @@ -65,7 +65,7 @@ |
| 65 | 65 | |
| 66 | 66 | |
| 67 | 67 | |
| 68 | - <resultMap id="MommyPatientResultMap" type="MommyPatient"> | |
| 68 | + <resultMap id="MommyPatientResultMap" type="com.lymsh.mommybaby.earlydata.model.MommyPatient"> | |
| 69 | 69 | <result column="P_NO" property="pNo" jdbcType="VARCHAR"/> |
| 70 | 70 | <result column="P_OPERUSER" property="pOperuser" jdbcType="VARCHAR"/> |
| 71 | 71 | <result column="P_TYPE" property="pType" jdbcType="INTEGER"/> |
| ... | ... | @@ -80,7 +80,7 @@ |
| 80 | 80 | P_NO,P_OPERUSER,P_TYPE,P_PLATPATIENTID,P_LASTMENSTRUALPERIOD,P_ISVALID,P_SERVICETYPE,P_ISVIP |
| 81 | 81 | </sql> |
| 82 | 82 | |
| 83 | - <select id="selectMommyPatient" resultMap="MommyPatientResultMap" parameterType="OracleCommonQuery"> | |
| 83 | + <select id="selectMommyPatient" resultMap="MommyPatientResultMap" parameterType="com.lymsh.mommybaby.earlydata.model.OracleCommonQuery"> | |
| 84 | 84 | select |
| 85 | 85 | <include refid="MommyPatientColumns"/> |
| 86 | 86 | from (select<include refid="MommyPatientColumns"/>,rownum r |
| ... | ... | @@ -99,7 +99,7 @@ |
| 99 | 99 | |
| 100 | 100 | |
| 101 | 101 | |
| 102 | - <resultMap id="MommyPatientinfoResultMap" type="MommyPatientinfo"> | |
| 102 | + <resultMap id="MommyPatientinfoResultMap" type="com.lymsh.mommybaby.earlydata.model.MommyPatientinfo"> | |
| 103 | 103 | <result column="PI_ID" property="piId" jdbcType="VARCHAR"/> |
| 104 | 104 | <result column="PI_NAME" property="piName" jdbcType="VARCHAR"/> |
| 105 | 105 | <result column="PI_SEX" property="piSex" jdbcType="INTEGER"/> |
| ... | ... | @@ -117,7 +117,7 @@ |
| 117 | 117 | PI_ID,PI_NAME,PI_SEX,PI_KIDSTYPE,PI_BIRTHDAY,PI_MOTHERPHONE,PI_OPERUSER,PI_PLATPATIENTID,PI_ISDELETE,PI_SERVICETYPE,PI_ISVIP |
| 118 | 118 | </sql> |
| 119 | 119 | |
| 120 | - <select id="selectMommyPatientinfo" resultMap="MommyPatientinfoResultMap" parameterType="OracleCommonQuery"> | |
| 120 | + <select id="selectMommyPatientinfo" resultMap="MommyPatientinfoResultMap" parameterType="com.lymsh.mommybaby.earlydata.model.OracleCommonQuery"> | |
| 121 | 121 | select |
| 122 | 122 | <include refid="MommyPatientinfoColumns"/> |
| 123 | 123 | from (select<include refid="MommyPatientinfoColumns"/>,rownum r |
| ... | ... | @@ -136,7 +136,7 @@ |
| 136 | 136 | |
| 137 | 137 | |
| 138 | 138 | |
| 139 | - <resultMap id="MommyChildexaminerecordResultMap" type="MommyChildexaminerecord"> | |
| 139 | + <resultMap id="MommyChildexaminerecordResultMap" type="com.lymsh.mommybaby.earlydata.model.MommyChildexaminerecord"> | |
| 140 | 140 | <result column="CER_ID" property="cerId" jdbcType="VARCHAR"/> |
| 141 | 141 | <result column="CER_PATIENTID" property="cerPatientid" jdbcType="VARCHAR"/> |
| 142 | 142 | <result column="CER_EXAMINDATE" property="cerExaminedate" jdbcType="TIMESTAMP"/> |
| ... | ... | @@ -149,7 +149,7 @@ |
| 149 | 149 | CER_ID,CER_PATIENTID,CER_EXAMINDATE,CER_EXAMINHOSPITAL,CER_MODIFIEDOPERATOR,CER_REMARKS |
| 150 | 150 | </sql> |
| 151 | 151 | |
| 152 | - <select id="selectMommyChildexaminerecord" resultMap="MommyChildexaminerecordResultMap" parameterType="OracleCommonQuery"> | |
| 152 | + <select id="selectMommyChildexaminerecord" resultMap="MommyChildexaminerecordResultMap" parameterType="com.lymsh.mommybaby.earlydata.model.OracleCommonQuery"> | |
| 153 | 153 | select |
| 154 | 154 | <include refid="MommyChildexaminerecordColumns"/> |
| 155 | 155 | from (select<include refid="MommyChildexaminerecordColumns"/>,rownum r |
| ... | ... | @@ -168,7 +168,7 @@ |
| 168 | 168 | |
| 169 | 169 | |
| 170 | 170 | |
| 171 | - <resultMap id="MommyExamineResultMap" type="MommyExamine"> | |
| 171 | + <resultMap id="MommyExamineResultMap" type="com.lymsh.mommybaby.earlydata.model.MommyExamine"> | |
| 172 | 172 | <result column="E_ID" property="eId" jdbcType="VARCHAR"/> |
| 173 | 173 | <result column="E_CHILDEXAMINID" property="eChildexamineid" jdbcType="VARCHAR"/> |
| 174 | 174 | <result column="E_EXAMINEID" property="eExamineid" jdbcType="VARCHAR"/> |
| ... | ... | @@ -181,7 +181,7 @@ |
| 181 | 181 | E_ID,E_CHILDEXAMINID,E_EXAMINEID,E_RESULT,E_UNIT,E_EVALUATION |
| 182 | 182 | </sql> |
| 183 | 183 | |
| 184 | - <select id="selectMommyExamine" resultMap="MommyExamineResultMap" parameterType="OracleCommonQuery"> | |
| 184 | + <select id="selectMommyExamine" resultMap="MommyExamineResultMap" parameterType="com.lymsh.mommybaby.earlydata.model.OracleCommonQuery"> | |
| 185 | 185 | select |
| 186 | 186 | <include refid="MommyExamineColumns"/> |
| 187 | 187 | from (select<include refid="MommyExamineColumns"/>,rownum r |
| 188 | 188 | |
| 189 | 189 | |
| ... | ... | @@ -214,16 +214,16 @@ |
| 214 | 214 | </if> |
| 215 | 215 | </select> |
| 216 | 216 | |
| 217 | - <resultMap id="DcIdNameResultMap" type="PlatDataContent"> | |
| 217 | + <resultMap id="DcIdNameResultMap" type="com.lymsh.mommybaby.earlydata.model.PlatDataContent"> | |
| 218 | 218 | <result column="DC_ID" property="dcId" jdbcType="VARCHAR"/> |
| 219 | 219 | <result column="DC_NAME" property="dcName" jdbcType="VARCHAR"/> |
| 220 | 220 | </resultMap> |
| 221 | 221 | |
| 222 | - <select id="selectDcIdName" resultMap="DcIdNameResultMap" parameterType="OracleCommonQuery"> | |
| 222 | + <select id="selectDcIdName" resultMap="DcIdNameResultMap" parameterType="com.lymsh.mommybaby.earlydata.model.OracleCommonQuery"> | |
| 223 | 223 | select DC_ID,DC_NAME FROM ${tableName} |
| 224 | 224 | </select> |
| 225 | 225 | |
| 226 | - <resultMap id="DiagnosisViewResultMap" type="DiagnosisView"> | |
| 226 | + <resultMap id="DiagnosisViewResultMap" type="com.lymsh.mommybaby.earlydata.model.DiagnosisView"> | |
| 227 | 227 | <result column="dh_pasthistoryid" property="storyId" jdbcType="VARCHAR"/> |
| 228 | 228 | <result column="dh_name" property="dhName" jdbcType="VARCHAR"/> |
| 229 | 229 | <result column="dh_historyinfo" property="historyInfo" jdbcType="VARCHAR"/> |
platform-mommyData/src/main/resources/earlyOrm/Plat.xml
View file @
f4dbc47
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| 3 | 3 | <mapper namespace="PlatMapper"> |
| 4 | 4 | |
| 5 | - <resultMap id="PlatDataTypeResultMap" type="PlatDataType"> | |
| 5 | + <resultMap id="PlatDataTypeResultMap" type="com.lymsh.mommybaby.earlydata.model.PlatDataType"> | |
| 6 | 6 | <result column="DT_ID" property="dtId" jdbcType="VARCHAR"/> |
| 7 | 7 | <result column="DT_NAME" property="dtName" jdbcType="VARCHAR"/> |
| 8 | 8 | </resultMap> |
| ... | ... | @@ -20,7 +20,7 @@ |
| 20 | 20 | |
| 21 | 21 | |
| 22 | 22 | |
| 23 | - <resultMap id="PlatDataContentResultMap" type="PlatDataContent"> | |
| 23 | + <resultMap id="PlatDataContentResultMap" type="com.lymsh.mommybaby.earlydata.model.PlatDataContent"> | |
| 24 | 24 | <result column="DC_ID" property="dcId" jdbcType="VARCHAR"/> |
| 25 | 25 | <result column="DC_NAME" property="dcName" jdbcType="VARCHAR"/> |
| 26 | 26 | <result column="DC_NO" property="dcNo" jdbcType="VARCHAR"/> |
| ... | ... | @@ -40,7 +40,7 @@ |
| 40 | 40 | |
| 41 | 41 | |
| 42 | 42 | |
| 43 | - <resultMap id="PlatHospitalResultMap" type="PlatHospital"> | |
| 43 | + <resultMap id="PlatHospitalResultMap" type="com.lymsh.mommybaby.earlydata.model.PlatHospital"> | |
| 44 | 44 | <result column="H_ID" property="hId" jdbcType="VARCHAR"/> |
| 45 | 45 | <result column="H_NAME" property="hName" jdbcType="VARCHAR"/> |
| 46 | 46 | </resultMap> |
| ... | ... | @@ -49,7 +49,7 @@ |
| 49 | 49 | H_ID,H_NAME |
| 50 | 50 | </sql> |
| 51 | 51 | |
| 52 | - <select id="selectPlatHospital" resultMap="PlatHospitalResultMap" parameterType="OracleCommonQuery"> | |
| 52 | + <select id="selectPlatHospital" resultMap="PlatHospitalResultMap" parameterType="com.lymsh.mommybaby.earlydata.model.OracleCommonQuery"> | |
| 53 | 53 | select |
| 54 | 54 | <include refid="PlatHospitalColumns"/> |
| 55 | 55 | from (select<include refid="PlatHospitalColumns"/>,rownum r |
| ... | ... | @@ -66,7 +66,7 @@ |
| 66 | 66 | |
| 67 | 67 | |
| 68 | 68 | |
| 69 | - <resultMap id="PlatUsersResultMap" type="PlatUsers"> | |
| 69 | + <resultMap id="PlatUsersResultMap" type="com.lymsh.mommybaby.earlydata.model.PlatUsers"> | |
| 70 | 70 | <result column="U_ID" property="uId" jdbcType="VARCHAR"/> |
| 71 | 71 | <result column="U_USERNAME" property="uUsername" jdbcType="VARCHAR"/> |
| 72 | 72 | <result column="U_USERPWD" property="uUserpwd" jdbcType="VARCHAR"/> |
| ... | ... | @@ -79,7 +79,7 @@ |
| 79 | 79 | U_ID,U_USERNAME,U_USERPWD,U_EMPLOYEEID,U_LOGINNUM,U_ISVALID |
| 80 | 80 | </sql> |
| 81 | 81 | |
| 82 | - <select id="selectPlatUsers" resultMap="PlatUsersResultMap" parameterType="OracleCommonQuery"> | |
| 82 | + <select id="selectPlatUsers" resultMap="PlatUsersResultMap" parameterType="com.lymsh.mommybaby.earlydata.model.OracleCommonQuery"> | |
| 83 | 83 | select |
| 84 | 84 | <include refid="PlatUsersColumns"/> |
| 85 | 85 | from (select<include refid="PlatUsersColumns"/>,rownum r |
| ... | ... | @@ -97,7 +97,7 @@ |
| 97 | 97 | |
| 98 | 98 | |
| 99 | 99 | |
| 100 | - <resultMap id="PlatPatientResultMap" type="PlatPatient"> | |
| 100 | + <resultMap id="PlatPatientResultMap" type="com.lymsh.mommybaby.earlydata.model.PlatPatient"> | |
| 101 | 101 | <result column="P_ID" property="pId" jdbcType="VARCHAR"/> |
| 102 | 102 | <result column="P_NAME" property="pName" jdbcType="VARCHAR"/> |
| 103 | 103 | <result column="P_SEX" property="pSex" jdbcType="INTEGER"/> |
| ... | ... | @@ -110,7 +110,7 @@ |
| 110 | 110 | P_ID,P_NAME,P_SEX,P_BIRTHDAY,P_MOBILEPHONE,P_ISVALID |
| 111 | 111 | </sql> |
| 112 | 112 | |
| 113 | - <select id="selectPlatPatient" resultMap="PlatPatientResultMap" parameterType="OracleCommonQuery"> | |
| 113 | + <select id="selectPlatPatient" resultMap="PlatPatientResultMap" parameterType="com.lymsh.mommybaby.earlydata.model.OracleCommonQuery"> | |
| 114 | 114 | select |
| 115 | 115 | <include refid="PlatPatientColumns"/> |
| 116 | 116 | from (select<include refid="PlatPatientColumns"/>,rownum r |
| ... | ... | @@ -126,7 +126,7 @@ |
| 126 | 126 | <![CDATA[ r >= #{startRow} ]]> |
| 127 | 127 | </select> |
| 128 | 128 | |
| 129 | - <select id="selectTable" resultType="hashmap" parameterType="OracleCommonQuery"> | |
| 129 | + <select id="selectTable" resultType="hashmap" parameterType="com.lymsh.mommybaby.earlydata.model.OracleCommonQuery"> | |
| 130 | 130 | select |
| 131 | 131 | * |
| 132 | 132 | from (select h.* ,rownum r |
| ... | ... | @@ -158,7 +158,7 @@ |
| 158 | 158 | </select> |
| 159 | 159 | |
| 160 | 160 | |
| 161 | - <resultMap id="ViewPatientResultMap" type="ViewPatient"> | |
| 161 | + <resultMap id="ViewPatientResultMap" type="com.lymsh.mommybaby.earlydata.model.ViewPatient"> | |
| 162 | 162 | <result column="DC_NAME" property="dcName" jdbcType="VARCHAR"/> |
| 163 | 163 | <result column="ME_COLORNAME" property="meColorname" jdbcType="VARCHAR"/> |
| 164 | 164 | <result column="PI_AGEMONTH" property="ageMonth" jdbcType="VARCHAR"/> |
| ... | ... | @@ -170,7 +170,7 @@ |
| 170 | 170 | select DC_NAME,ME_COLORNAME,FENSHU,PI_AGEMONTH FROM V_GETALLPATIENT WHERE P_PLATPATIENTID = #{patientId} |
| 171 | 171 | </select> |
| 172 | 172 | |
| 173 | - <resultMap id="RiskDetailsResultMap" type="ViewPatient"> | |
| 173 | + <resultMap id="RiskDetailsResultMap" type="com.lymsh.mommybaby.earlydata.model.ViewPatient"> | |
| 174 | 174 | <result column="DC_NAME" property="dcName" jdbcType="VARCHAR"/> |
| 175 | 175 | <result column="ME_COLORNAME" property="meColorname" jdbcType="VARCHAR"/> |
| 176 | 176 | <result column="FENSHU" property="fenshu" jdbcType="INTEGER"/> |
platform-reportData/src/main/resources/reportOrm/StatisticsMapper.xml
View file @
f4dbc47
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| 3 | 3 | <mapper namespace="StatisticsMapper"> |
| 4 | 4 | |
| 5 | - <resultMap id="AreaDataResultMap" type="AreaData"> | |
| 5 | + <resultMap id="AreaDataResultMap" type="com.lymsh.platform.reportdata.model.AreaData"> | |
| 6 | 6 | <result column="province_id" property="provinceId" jdbcType="VARCHAR"/> |
| 7 | 7 | <result column="province_name" property="provinceName" jdbcType="VARCHAR"/> |
| 8 | 8 | <result column="year" property="year" jdbcType="VARCHAR"/> |