Authored by caoyan

尺码集合

@@ -39,6 +39,12 @@ @@ -39,6 +39,12 @@
39 <if test="updateUid != null" > 39 <if test="updateUid != null" >
40 update_uid = #{updateUid,jdbcType=INTEGER}, 40 update_uid = #{updateUid,jdbcType=INTEGER},
41 </if> 41 </if>
  42 + <if test="imageWidth != null" >
  43 + image_width = #{imageWidth,jdbcType=INTEGER},
  44 + </if>
  45 + <if test="imageHeight != null" >
  46 + image_height = #{imageHeight,jdbcType=INTEGER},
  47 + </if>
42 </set> 48 </set>
43 where id = #{id,jdbcType=INTEGER} 49 where id = #{id,jdbcType=INTEGER}
44 </update> 50 </update>
@@ -96,6 +96,8 @@ public class SizePoolService implements ISizePoolService{ @@ -96,6 +96,8 @@ public class SizePoolService implements ISizePoolService{
96 SizePool sizePool = new SizePool(); 96 SizePool sizePool = new SizePool();
97 sizePool.setId(bo.getId()); 97 sizePool.setId(bo.getId());
98 sizePool.setImageUrl(bo.getImageUrl()); 98 sizePool.setImageUrl(bo.getImageUrl());
  99 + sizePool.setImageWidth(bo.getImageWidth());
  100 + sizePool.setImageHeight(bo.getImageHeight());
99 sizePool.setUpdateTime(DateUtil.getCurrentTimeSeconds()); 101 sizePool.setUpdateTime(DateUtil.getCurrentTimeSeconds());
100 sizePool.setUpdateUid(new UserHelper().getUserId()); 102 sizePool.setUpdateUid(new UserHelper().getUserId());
101 103