Browse Source

1.修改了药品目录标准代码和本地药房映射

zjh 2 years ago
parent
commit
5ba56e7b19

BIN
cbkj_web_parameter/src/main/java/com/jiuzhekan/cbkj/beans/drug/StandTMAutoMappingVO.java


BIN
cbkj_web_parameter/src/main/java/com/jiuzhekan/cbkj/beans/drug/TMaterialStandVO.java


BIN
cbkj_web_parameter/src/main/java/com/jiuzhekan/cbkj/controller/drug/BMaterialController.java


BIN
cbkj_web_parameter/src/main/java/com/jiuzhekan/cbkj/service/drug/TStandardMaterialMappingService.java


+ 7 - 1
cbkj_web_parameter/src/main/resources/mappers/drug/TStandardMaterialMappingMapper.xml

@@ -82,7 +82,13 @@
         from t_standard_material_mapping where id = #{id}
     </select>
 
-    <select id="getPageListByObj" parameterType="TMaterialStandVO" resultType="TMaterialStandVO">
+
+    <resultMap id="BaseResultMap2" type="com.jiuzhekan.cbkj.beans.drug.TMaterialStandVO">
+        <id column="matId" jdbcType="VARCHAR"  property="matId" />
+
+    </resultMap>
+
+    <select id="getPageListByObj" parameterType="TMaterialStandVO" resultMap="BaseResultMap2">
         SELECT
         tm2.mat_id matId,
         tm2.mat_name matName,