Commit 90f9e807a13cce883c1111c557fbe1f003a76962

Authored by 王明元
1 parent a08ebb35

2022年7月6日11:23:50 修复配置组update方法bug

alertHistory.txt
... ... @@ -64,3 +64,15 @@ CREATE TABLE `theme_file` (
64 64 UNIQUE KEY `themeId_fileId_type` (`theme_id`,`file_id`,`type`) COMMENT '主题id和文件id的唯一索引'
65 65 ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='活动主题相关附件';
66 66  
  67 +
  68 +
  69 +39: 630年中冲量 巅峰聚会团购会
  70 + video: 247132,247131,247017,247145,246915,246914,247021,247020,247019,247283,247282,247281,247158,247157,247116,247115,247254,247253,247008,247006,247004,246934,246933,247393,247289,247288,247330,247360,247359,247329,247287,247286,247358,247357,247072,247071,247110,247109,247285,247284,247274,247273,247063,247326,247272,247271,247130,247129,247062,247187,247186,247185,247184,247306
  71 + live: 7205,7221,7255,7277,7295,7302,7312,7261,7271,7272,7287,7204,7210,7219,7231,7256,7273,7203,7212,7227,7279,7309
  72 +
  73 +
  74 +38: 630置换专场周
  75 + video: 247220,247219,247308,247307,247226,247225,247196,247194,247177,247176,246996,246995,247418,247417,246890,247150,247149,247215,247214,246889,247274,247273,247063,247326,247272,247271,247130,247129,247062,
  76 + live: 7216,7217,7222,7223,7224,7237,7281,7298,7299,7307,7296,7218,7234,7245,7254,7276,7308,7311
  77 +
  78 +删除的快手id: 261,97,290,243,184,72,351,342,286,301,335,41,291,357,264,232,185,259,313,11,373,366,148,307,367,364,360,341,257,88,239,186,35,47,365,22,309,69,273,329,258,234,238,281,369,145,370,173,78,328,340,292,125,253,285,59,305,61,102,79,354,191,216,112,255,377,268
... ...
fw-dalaran-service/src/main/java/cn/fw/dalaran/service/data/impl/ConfigGroupServiceImpl.java
... ... @@ -99,7 +99,7 @@ public class ConfigGroupServiceImpl extends ServiceImpl<ConfigGroupDao, ConfigGr
99 99 return "不允许修改别人的配置组";
100 100 final Long configGroupId = param.getId();
101 101 List<ConfigGroup> list = this.lambdaQuery()
102   - .eq(ConfigGroup::getId, param.getGroupId())
  102 + .eq(ConfigGroup::getGroupId, param.getGroupId())
103 103 .list();// 找到对应集团的所有配置组
104 104 Integer allShop = param.getAllShop();
105 105 if (Objects.equals(allShop, 1)) {// 本次指定配置是否为全部门店
... ...
fw-dalaran-service/src/main/test/example/ImageListener.java
... ... @@ -19,12 +19,13 @@ public class ImageListener implements ActionListener {
19 19 }
20 20  
21 21 public ImageListener() throws Exception {
22   - File imageFile1 = ImageUtils.convertFileByUrl("https://p1.a.yximgs.com/upic/2022/04/29/09/BMjAyMjA0MjkwOTE0MTZfMjQ1OTk4NjkzNV83MzE0OTA2MTQ3NF8yXzM=_B5f00f9c8088d10c218396a76b59bdd22.jpg?tag=1-1651206643-nil-0-wurcpidjbr-eaa56d04235cffcc&clientCacheKey=3x2rwn2a792b532.jpg&di=6f711692&bp=10000");
  22 + File imageFile1 = ImageUtils.convertFileByUrl("https://p2.a.yximgs.com/upic/2022/07/02/18/BMjAyMjA3MDIxODQyNDVfMTA2MjU5OTU5MV83ODE2MDkwNTkzMF8yXzM=_B50b9301c2d61ea0faf60a882a60cd336.jpg?tag=1-1656909189-nil-0-b9qwvimwnk-c1383d641aa55e8e&clientCacheKey=3x62tedv27b8a39.jpg&di=6f711692&bp=10000");
  23 + File imageFile2 = ImageUtils.convertFileByUrl("http://gate.feewee.cn/file/show?fid=f19fd7afd5504b0f919b1f806bbe0a2a");
23 24 //File imageFile2 = ImageUtils.convertFileByUrl("https://p2.a.yximgs.com/upic/2022/01/20/20/BMjAyMjAxMjAyMDEyMTZfNDcwOTM0NDgyXzY1MzMwMDA5Mjk0XzJfMw==_B0296c8ed5afa94b9b7a06dd1612c3ecb.jpg?tag=1-1642748356-nil-0-ndrgo4aid6-21e0d82706b2e935&clientCacheKey=3x4xb3uvxtpibvc.jpg&di=abd4f314&bp=10000");
24   - /*File imageFile1 = new File("C:\\Users\\wmy3969\\Desktop\\2.png");*/
25   - File imageFile2 = new File("C:\\Users\\wmy3969\\Desktop\\2022.4.23-4.30短视频背景封面jpg\\春风十里焕新鲸喜\\1.png");
26   - imagePixArr1 = ImageUtils.readImagePixel(new File(ImageUtils.modifyResolution(imageFile1.getPath(), "C:\\Users\\wmy3969\\Desktop", 256, 256)));
27   - imagePixArr2 = ImageUtils.readImagePixel(new File(ImageUtils.modifyResolution(imageFile2.getPath(), "C:\\Users\\wmy3969\\Desktop", 256, 256)));
  25 + /*File imageFile1 = new File("C:\\Users\\wmy3969\\Desktop\\2.png");
  26 + File imageFile2 = new File("C:\\Users\\wmy3969\\Desktop\\2022.4.23-4.30短视频背景封面jpg\\春风十里焕新鲸喜\\1.png");*/
  27 + imagePixArr1 = ImageUtils.readImagePixel(new File(ImageUtils.modifyResolution(imageFile1.getPath(), "C:\\Users\\wmy3969\\Desktop", 256, 512)));
  28 + imagePixArr2 = ImageUtils.readImagePixel(new File(ImageUtils.modifyResolution(imageFile2.getPath(), "C:\\Users\\wmy3969\\Desktop", 256, 512)));
28 29 /*imagePixArr1 = ImageUtils.readImagePixel(imageFile1);
29 30 imagePixArr2 = ImageUtils.readImagePixel(imageFile2);*/
30 31 }
... ...