Kaynağa Gözat

修改启动不了问题

qiubo 4 yıl önce
ebeveyn
işleme
7091054614

+ 10 - 10
carbon-back/carbon-back-service/src/main/resources/carbon/ProductBelongMapper.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.hcloud.microserver.bank.dao.ProductBelongMapper">
-    <resultMap id="BaseResultMap" type="com.hcloud.microserver.facade.carbon.entity.ProductBelong">
+<mapper namespace="com.hcloud.microserver.system.bank.dao.ProductBelongMapper">
+    <resultMap id="BaseResultMap" type="com.hcloud.microserver.system.facade.carbon.entity.ProductBelong">
         <id column="guid" jdbcType="CHAR" property="guid"/>
         <result column="fk_product_guid" jdbcType="CHAR" property="fkProductGuid"/>
         <result column="fk_farmer_guid" jdbcType="CHAR" property="fkFarmerGuid"/>
@@ -19,12 +19,12 @@
         </discriminator>
     </resultMap>
 
-    <resultMap id="collectiveMap" type="com.hcloud.microserver.facade.carbon.entity.CollectiveProductBelong" extends="BaseResultMap">
-        <association property="collectiveFarmer" select="com.hcloud.microserver.bank.dao.CollectiveFarmerMapper.selectByPrimaryKey" column="fk_farmer_guid"/>
+    <resultMap id="collectiveMap" type="com.hcloud.microserver.system.facade.carbon.entity.CollectiveProductBelong" extends="BaseResultMap">
+        <association property="collectiveFarmer" select="com.hcloud.microserver.system.bank.dao.CollectiveFarmerMapper.selectByPrimaryKey" column="fk_farmer_guid"/>
     </resultMap>
 
-    <resultMap id="farmerMap" type="com.hcloud.microserver.facade.carbon.entity.FarmerProductBelong" extends="BaseResultMap">
-        <association property="farmerInfo" select="com.hcloud.microserver.bank.dao.FarmerInfoMapper.selectByPrimaryKey" column="fk_farmer_guid"/>
+    <resultMap id="farmerMap" type="com.hcloud.microserver.system.facade.carbon.entity.FarmerProductBelong" extends="BaseResultMap">
+        <association property="farmerInfo" select="com.hcloud.microserver.system.bank.dao.FarmerInfoMapper.selectByPrimaryKey" column="fk_farmer_guid"/>
     </resultMap>
 
     <sql id="Base_Column_List">
@@ -41,7 +41,7 @@
     delete from t_product_belong
     where guid = #{guid,jdbcType=CHAR}
     </delete>
-    <insert id="insert" parameterType="com.hcloud.microserver.facade.carbon.entity.ProductBelong">
+    <insert id="insert" parameterType="com.hcloud.microserver.system.facade.carbon.entity.ProductBelong">
     insert into t_product_belong (guid, fk_product_guid, fk_farmer_guid, fk_collective_guid
     farmer_name, farmer_village, farmer_num,
     state, create_time, modified_time, belong_type
@@ -51,7 +51,7 @@
     #{state,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{modifiedTime,jdbcType=TIMESTAMP}, #{belongType,jdbcType=INTEGER}
     )
     </insert>
-    <insert id="insertSelective" parameterType="com.hcloud.microserver.facade.carbon.entity.ProductBelong">
+    <insert id="insertSelective" parameterType="com.hcloud.microserver.system.facade.carbon.entity.ProductBelong">
         insert into t_product_belong
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="guid != null">
@@ -124,7 +124,7 @@
             </if>
         </trim>
     </insert>
-    <update id="updateByPrimaryKeySelective" parameterType="com.hcloud.microserver.facade.carbon.entity.ProductBelong">
+    <update id="updateByPrimaryKeySelective" parameterType="com.hcloud.microserver.system.facade.carbon.entity.ProductBelong">
         update t_product_belong
         <set>
             <if test="fkProductGuid != null">
@@ -160,7 +160,7 @@
         </set>
         where guid = #{guid,jdbcType=CHAR}
     </update>
-    <update id="updateByPrimaryKey" parameterType="com.hcloud.microserver.facade.carbon.entity.ProductBelong">
+    <update id="updateByPrimaryKey" parameterType="com.hcloud.microserver.system.facade.carbon.entity.ProductBelong">
         update t_product_belong
         set fk_product_guid = #{fkProductGuid,jdbcType=CHAR},
         fk_farmer_guid = #{fkFarmerGuid,jdbcType=CHAR},