소스 검색

商品编辑修改

linhui.li 2 주 전
부모
커밋
13c3631826
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      py-goods/src/main/resources/mapper/SpuMapper.xml

+ 1 - 0
py-goods/src/main/resources/mapper/SpuMapper.xml

@@ -50,5 +50,6 @@
             <if test="updateTime!=null">update_time=#{updateTime},</if>
             <if test="properties!=null">properties=#{properties,jdbcType=OTHER,typeHandler=com.poyee.mapper.handler.JsonNodeTypeHandler}::json</if>
         </trim>
+        where id =#{id}
     </update>
 </mapper>