Преглед изворни кода

add 增加关闭订单接口

周箭河 пре 5 година
родитељ
комит
2ea6d2ba08

+ 2 - 5
edu-user/edu-user-server/src/main/resources/config/mybatis/StudentMapper.xml

@@ -28,8 +28,8 @@
 	
 	<!-- 向数据库增加一条记录 -->
 	<insert id="insert" parameterType="com.keao.edu.user.api.entity.Student" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		INSERT INTO student (user_id_,certificate_photo_,create_time_,update_time_,tenant_id_,organ_id_)
-		VALUES(#{userId},#{certificatePhoto},NOW(),NOW(),#{tenantId},#{organId})
+		INSERT INTO student (user_id_,certificate_photo_,create_time_,update_time_,organ_id_)
+		VALUES(#{userId},#{certificatePhoto},NOW(),NOW(),#{organId})
 	</insert>
 
 	<!-- 根据主键查询一条记录 -->
@@ -39,9 +39,6 @@
 			<if test="certificatePhoto != null">
 				certificate_photo_ = #{certificatePhoto},
 			</if>
-			<if test="tenantId != null and tenantId != 0">
-				tenant_id_ = #{tenantId},
-			</if>
 			<if test="organId != null">
 				organ_id_ = #{organId},
 			</if>