소스 검색

shoesLast task

xiaoyuzhang 3 년 전
부모
커밋
6842a6138a

+ 10 - 1
pom.xml

@@ -42,13 +42,22 @@
42 42
         <dependency>
43 43
             <groupId>com.baomidou</groupId>
44 44
             <artifactId>mybatis-plus-boot-starter</artifactId>
45
-            <version>3.4.1</version>
45
+            <version>3.3.1</version>
46 46
         </dependency>
47 47
         <dependency>
48 48
             <groupId>mysql</groupId>
49 49
             <artifactId>mysql-connector-java</artifactId>
50 50
             <version>8.0.22</version>
51 51
         </dependency>
52
+        <dependency>
53
+            <groupId>cn.hutool</groupId>
54
+            <artifactId>hutool-all</artifactId>
55
+            <version>4.1.1</version>
56
+        </dependency>
57
+<!--        <dependency>-->
58
+<!--            <groupId></groupId>-->
59
+<!--            <artifactId></artifactId>-->
60
+<!--        </dependency>-->
52 61
 
53 62
     </dependencies>
54 63
 

+ 3 - 8
src/main/java/com/example/demo/config/MyConfig.java

@@ -1,9 +1,5 @@
1 1
 package com.example.demo.config;
2
-
3
-import com.baomidou.mybatisplus.annotation.DbType;
4
-import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
5 2
 import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
6
-import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
7 3
 import com.example.demo.controller.User;
8 4
 import org.springframework.context.annotation.Bean;
9 5
 import org.springframework.context.annotation.Configuration;
@@ -22,11 +18,10 @@ public class MyConfig {
22 18
         User lisi = new User("lisi");
23 19
         return  lisi;
24 20
     }
21
+
25 22
     @Bean
26
-    public MybatisPlusInterceptor paginationInterceptor() {
27
-        MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
28
-        interceptor.addInnerInterceptor(new PaginationInnerInterceptor());
29
-        return interceptor;
23
+    public PaginationInterceptor paginationInterceptor() {
24
+        return new PaginationInterceptor();
30 25
     }
31 26
 
32 27
 }

+ 6 - 6
src/main/java/com/example/springbootdemo/controller/HelloController.java

@@ -75,12 +75,12 @@ public class HelloController {
75 75
     public FootScanEntity getFootScanInfo(@RequestParam("foot_scan_id") Long foot_scan_id) {
76 76
         return  footScanMapper.queryFootScanInfo(foot_scan_id);
77 77
     }
78
-    @RequestMapping("mybatis4")
79
-    public List<FootScanEntity> getFootScanListPage() {
80
-        Page<FootScanEntity> footScanEntityPage = new Page<>(1,20);
81
-        footScanService.page(footScanEntityPage,null);
82
-        return  footScanEntityPage.getRecords();
83
-    }
78
+    //@RequestMapping("mybatis4")
79
+//    public List<FootScanEntity> getFootScanListPage() {
80
+//        Page<FootScanEntity> footScanEntityPage = new Page<>(1,20);
81
+//        footScanService.page(footScanEntityPage,null);
82
+//        return  footScanEntityPage.getRecords();
83
+//    }
84 84
 
85 85
 }
86 86
 

+ 14 - 0
src/main/java/com/example/springbootdemo/controller/MybatisPlusController.java

@@ -6,10 +6,13 @@ import com.example.springbootdemo.entity.Device;
6 6
 import com.example.springbootdemo.entity.FootScanEntity;
7 7
 import com.example.springbootdemo.mapper.DeviceMapper;
8 8
 import com.example.springbootdemo.service.FootScanService;
9
+import com.example.springbootdemo.service.GoodsBindsShoesLastService;
9 10
 import org.springframework.beans.factory.annotation.Autowired;
10 11
 import org.springframework.web.bind.annotation.RequestMapping;
12
+import org.springframework.web.bind.annotation.RequestParam;
11 13
 import org.springframework.web.bind.annotation.RestController;
12 14
 
15
+import java.util.ArrayList;
13 16
 import java.util.List;
14 17
 
15 18
 /**
@@ -23,6 +26,8 @@ public class MybatisPlusController {
23 26
     DeviceMapper deviceMapper;
24 27
     @Autowired
25 28
     FootScanService footScanService;
29
+    @Autowired
30
+    GoodsBindsShoesLastService goodsBindsShoesLastService;
26 31
     @RequestMapping("/mybatisPlusSelect")
27 32
     public Device getDeviceList() {
28 33
         QueryWrapper<Device> queryWrapper = new QueryWrapper<>();
@@ -37,6 +42,15 @@ public class MybatisPlusController {
37 42
         footScanService.page(page,queryWrapper);
38 43
         return  page.getRecords();
39 44
     }
45
+    @RequestMapping("/shoesLast")
46
+    public List<Integer> testShoesLast(@RequestParam("shoes_last_id") Integer shoesLastId) {
47
+        ArrayList<Integer> integerArrayList = new ArrayList<Integer>();
48
+        integerArrayList.add(1);
49
+        integerArrayList.add(2);
50
+        integerArrayList.add(3);
51
+        return goodsBindsShoesLastService.getGoodsIdByShoesLast(148161,"matchAll",integerArrayList);
52
+        //ShoesLastEntity ss = shoesLastMapper.selectByShoesLastId(shoesLastId);
53
+    }
40 54
 
41 55
 
42 56
 }

+ 212 - 0
src/main/java/com/example/springbootdemo/entity/FootScanCommonEntity.java

@@ -0,0 +1,212 @@
1
+package com.example.springbootdemo.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.TableName;
4
+import com.baomidou.mybatisplus.annotation.IdType;
5
+import java.sql.Timestamp;
6
+import com.baomidou.mybatisplus.annotation.TableId;
7
+import java.io.Serializable;
8
+import lombok.Data;
9
+import lombok.EqualsAndHashCode;
10
+import lombok.experimental.Accessors;
11
+
12
+
13
+@Data
14
+@EqualsAndHashCode(callSuper = false)
15
+@Accessors(chain = true)
16
+@TableName("wb_tbl_foot_scan_common")
17
+public class FootScanCommonEntity implements Serializable {
18
+
19
+    private static final long serialVersionUID = 1L;
20
+
21
+    /**
22
+     * 主键
23
+     */
24
+    @TableId(value = "foot_scan_common_id", type = IdType.AUTO)
25
+    private Integer footScanCommonId;
26
+
27
+    /**
28
+     * 扫描数据id
29
+     */
30
+    private Integer footScanId;
31
+
32
+    /**
33
+     * 扫描数据编码
34
+     */
35
+    private String footScanSign;
36
+
37
+    /**
38
+     * 左脚长度
39
+     */
40
+    private String leftLength;
41
+
42
+    /**
43
+     * 右脚长度
44
+     */
45
+    private String rightLength;
46
+
47
+    /**
48
+     * 左脚宽度
49
+     */
50
+    private String leftWidth;
51
+
52
+    /**
53
+     * 右脚宽度
54
+     */
55
+    private String rightWidth;
56
+
57
+    /**
58
+     * 左脚高度
59
+     */
60
+    private String leftHeight;
61
+
62
+    /**
63
+     * 右脚高度
64
+     */
65
+    private String rightHeight;
66
+
67
+    /**
68
+     * 左脚足弓 H高足弓 N中足弓 L扁平足
69
+     */
70
+    private String leftArch;
71
+
72
+    /**
73
+     * 右脚足弓
74
+     */
75
+    private String rightArch;
76
+
77
+    /**
78
+     * 左脚足跟 inner内翻 out 外翻 mid 中立
79
+     */
80
+    private String leftHeel;
81
+
82
+    /**
83
+     * 右脚足跟
84
+     */
85
+    private String rightHeel;
86
+
87
+
88
+
89
+    /**
90
+     * 平衡性 0 很好 1 一般 2 很差
91
+     */
92
+    private String bodyBalanceType;
93
+
94
+    /**
95
+     * A后倾 B前倾 C居中
96
+     */
97
+    private String gravityStatus;
98
+
99
+    /**
100
+     * 重心点位置
101
+     */
102
+    private String gravityLie;
103
+
104
+    /**
105
+     * 压力图数据图
106
+     */
107
+    private String pressureImg;
108
+
109
+    /**
110
+     * stl数据文件地址
111
+     */
112
+    private String stlFileId;
113
+
114
+    /**
115
+     * 点云数据file_id
116
+     */
117
+    private String imgPcbFileId;
118
+
119
+
120
+    /**
121
+     * 性别 男1 女2
122
+     */
123
+    private Integer dataSex;
124
+
125
+    /**
126
+     * 选择尺码
127
+     */
128
+    private String wearSize;
129
+
130
+
131
+    /**
132
+     * 左脚尺码
133
+     */
134
+    private String leftSize;
135
+
136
+    /**
137
+     * 右脚尺码
138
+     */
139
+    private String rightSize;
140
+
141
+    /**
142
+     * 左脚瑄型
143
+     */
144
+    private String leftShoesType;
145
+
146
+    /**
147
+     * 右脚瑄型
148
+     */
149
+    private String rightShoesType;
150
+
151
+    /**
152
+     * 扫描量测出来的体重数据
153
+     */
154
+    private Integer scanWeight;
155
+
156
+    /**
157
+     * 状态1 正常 0 删除 2未上报
158
+     */
159
+    private String status;
160
+
161
+    /**
162
+     * 用户id
163
+     */
164
+    private String userId;
165
+
166
+    /**
167
+     * 门店id
168
+     */
169
+    private String storeId;
170
+
171
+    /**
172
+     * 设备编码
173
+     */
174
+    private String deviceCode;
175
+
176
+    /**
177
+     * 商家用户id
178
+     */
179
+    private String companyUserId;
180
+
181
+    /**
182
+     * 商家id
183
+     */
184
+    private String companyId;
185
+
186
+    /**
187
+     * 分组id
188
+     */
189
+    private String footScanGroupId;
190
+
191
+    /**
192
+     * 2 中科院扫描,3手填
193
+     */
194
+    private String scanType;
195
+
196
+    /**
197
+     * 测量时间
198
+     */
199
+    private Timestamp measureTime;
200
+
201
+    /**
202
+     * 更新时间
203
+     */
204
+    private Timestamp utime;
205
+
206
+    /**
207
+     * 创建时间
208
+     */
209
+    private Timestamp ctime;
210
+
211
+
212
+}

+ 2 - 1
src/main/java/com/example/springbootdemo/entity/FootScanGroup.java

@@ -1,6 +1,7 @@
1 1
 package com.example.springbootdemo.entity;
2 2
 
3 3
 
4
+import com.baomidou.mybatisplus.annotation.IdType;
4 5
 import com.baomidou.mybatisplus.annotation.TableId;
5 6
 import com.baomidou.mybatisplus.annotation.TableName;
6 7
 import com.fasterxml.jackson.annotation.JsonProperty;
@@ -20,7 +21,7 @@ import java.io.Serializable;
20 21
 //@Table(name = "wb_tbl_foot_scan_group")
21 22
 @TableName("wb_tbl_foot_scan_group")
22 23
 public class FootScanGroup implements Serializable {
23
-    @TableId("foot_scan_group_id")
24
+    @TableId(value = "foot_scan_group_id",type = IdType.AUTO)
24 25
     @GeneratedValue
25 26
     private Long footScanGroupId;
26 27
     @JsonProperty("user_id")

+ 166 - 0
src/main/java/com/example/springbootdemo/entity/ShoesLastEntity.java

@@ -0,0 +1,166 @@
1
+package com.example.springbootdemo.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import com.baomidou.mybatisplus.annotation.TableId;
5
+import com.baomidou.mybatisplus.annotation.TableName;
6
+import lombok.Data;
7
+import lombok.EqualsAndHashCode;
8
+import lombok.experimental.Accessors;
9
+
10
+import java.io.Serializable;
11
+import java.sql.Timestamp;
12
+
13
+/**
14
+ * <p>
15
+ * 鞋楦具体值
16
+ * </p>
17
+ *
18
+ * @author Administrator
19
+ * @since 2021-02-27
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@TableName("wb_tbl_shoes_last")
25
+public class ShoesLastEntity implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    /**
30
+     * 鞋楦具体值ID
31
+     */
32
+    @TableId(value = "shoes_last_id", type = IdType.AUTO)
33
+    private Integer shoesLastId;
34
+
35
+    /**
36
+     * 原始尺码
37
+     */
38
+    private String originalSize;
39
+
40
+    /**
41
+     * 鞋码
42
+     */
43
+    private String shoesSize;
44
+
45
+    /**
46
+     * 足长
47
+     */
48
+    private String shoesLength;
49
+
50
+    /**
51
+     * 最小width
52
+     */
53
+    private Integer shoesMinWidth;
54
+
55
+    /**
56
+     * 楦底宽
57
+     */
58
+    private String shoesWidth;
59
+
60
+    /**
61
+     * 最大width
62
+     */
63
+    private Integer shoesMaxWidth;
64
+
65
+    /**
66
+     * 楦掌围
67
+     */
68
+    private String shoesZhangwei;
69
+
70
+    /**
71
+     * 楦兜跟围
72
+     */
73
+    private String shoesDougenwei;
74
+
75
+    /**
76
+     * 楦底长
77
+     */
78
+    private String shoesBottomLen;
79
+
80
+    /**
81
+     * 楦底样长
82
+     */
83
+    private String shoesBottomSample;
84
+
85
+    /**
86
+     * 楦全长
87
+     */
88
+    private String shoesAllLen;
89
+
90
+    /**
91
+     * 楦底后宽
92
+     */
93
+    private String shoesBottomWidth;
94
+
95
+    /**
96
+     * 楦前跷高
97
+     */
98
+    private String shoesFrontStep;
99
+
100
+    /**
101
+     * 楦后跷高
102
+     */
103
+    private String shoesBackStep;
104
+
105
+    /**
106
+     * 头厚
107
+     */
108
+    private String shoesHead;
109
+
110
+    /**
111
+     * 楦背围
112
+     */
113
+    private String shoesInstep;
114
+
115
+    /**
116
+     * 楦腰围
117
+     */
118
+    private String shoesWaist;
119
+
120
+    /**
121
+     * 放余量
122
+     */
123
+    private String shoesMargin;
124
+
125
+    /**
126
+     * 后容差
127
+     */
128
+    private String shoesAllowance;
129
+
130
+    /**
131
+     * 0为非扫描数据  1为扫描数据
132
+     */
133
+    private Integer isScan;
134
+
135
+    /**
136
+     * 鞋楦类型ID
137
+     */
138
+    private Integer shoesLastTypeId;
139
+
140
+    /**
141
+     * 如果是扫描数据.则对应扫描系统的扫描鞋楦码数ID
142
+     */
143
+    private Integer shoesLastScanId;
144
+
145
+    /**
146
+     * 0删除  1正常
147
+     */
148
+    private Integer status;
149
+
150
+    /**
151
+     * 商家ID
152
+     */
153
+    private Integer companyId;
154
+
155
+    /**
156
+     * 更新时间
157
+     */
158
+    private Timestamp utime;
159
+
160
+    /**
161
+     * 创建时间
162
+     */
163
+    private Timestamp ctime;
164
+
165
+
166
+}

+ 16 - 0
src/main/java/com/example/springbootdemo/mapper/FootScanCommonMapper.java

@@ -0,0 +1,16 @@
1
+package com.example.springbootdemo.mapper;
2
+
3
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4
+import com.example.springbootdemo.entity.FootScanCommonEntity;
5
+import org.apache.ibatis.annotations.Mapper;
6
+import org.springframework.stereotype.Repository;
7
+
8
+/**
9
+ * @author zhangxiaoyu
10
+ * @version 1.0
11
+ * @date 2021/5/31 下午5:20
12
+ */
13
+@Mapper
14
+@Repository
15
+public interface FootScanCommonMapper extends BaseMapper<FootScanCommonEntity> {
16
+}

+ 15 - 0
src/main/java/com/example/springbootdemo/mapper/ShoesLastMapper.java

@@ -0,0 +1,15 @@
1
+package com.example.springbootdemo.mapper;
2
+
3
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4
+import com.example.springbootdemo.entity.ShoesLastEntity;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * @author zhangxiaoyu
9
+ * @version 1.0
10
+ * @date 2021/6/2 下午2:39
11
+ */
12
+@Mapper
13
+public interface ShoesLastMapper extends BaseMapper<ShoesLastEntity> {
14
+    ShoesLastEntity selectByShoesLastId(Integer shoesLastId);
15
+}

+ 17 - 0
src/main/java/com/example/springbootdemo/service/GoodsBindsShoesLastService.java

@@ -0,0 +1,17 @@
1
+package com.example.springbootdemo.service;
2
+
3
+import java.util.ArrayList;
4
+import java.util.Collection;
5
+import java.util.List;
6
+
7
+/**
8
+ * @author zhangxiaoyu
9
+ * @version 1.0
10
+ * @date 2021/6/2 下午2:17
11
+ */
12
+
13
+public interface GoodsBindsShoesLastService {
14
+    // 根据扫描数据foot_scan_id 获取匹配 获取goodsIdList
15
+    List<Integer> getGoodsIdByShoesLast(Integer footScanId, String searchCondition, List<Integer> arrShoesLastIds);
16
+
17
+}

+ 60 - 0
src/main/java/com/example/springbootdemo/service/impl/GoodsBindsShoesLastServiceImpl.java

@@ -0,0 +1,60 @@
1
+package com.example.springbootdemo.service.impl;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
5
+import com.example.springbootdemo.entity.FootScanCommonEntity;
6
+import com.example.springbootdemo.entity.ShoesLastEntity;
7
+import com.example.springbootdemo.mapper.FootScanCommonMapper;
8
+import com.example.springbootdemo.mapper.ShoesLastMapper;
9
+import com.example.springbootdemo.service.GoodsBindsShoesLastService;
10
+import org.springframework.beans.factory.annotation.Autowired;
11
+import org.springframework.stereotype.Service;
12
+
13
+import java.util.*;
14
+
15
+/**
16
+ * @author zhangxiaoyu
17
+ * @version 1.0
18
+ * @date 2021/6/2 下午2:30
19
+ */
20
+@Service
21
+public class GoodsBindsShoesLastServiceImpl extends ServiceImpl<ShoesLastMapper, ShoesLastEntity> implements GoodsBindsShoesLastService {
22
+    @Autowired
23
+    FootScanCommonMapper footScanCommonMapper;
24
+    @Autowired
25
+    ShoesLastMapper shoesLastMapper;
26
+    @Override
27
+    public List<Integer> getGoodsIdByShoesLast(Integer footScanId, String searchCondition, List<Integer> arrShoesLastIds) {
28
+        this._scanGetShoesLast(footScanId,searchCondition,arrShoesLastIds);
29
+        return arrShoesLastIds;
30
+    }
31
+
32
+    /**
33
+     * 根据脚型数据查找适配的鞋楦数据
34
+     * @param  footScanId 脚型数据id
35
+     * @param searchCondition 搜索条件,matchAll,matchLength
36
+     * @param arrShoesLastIds 搜索条件 在这些鞋楦 id 数组里获取
37
+     * return array
38
+     */
39
+    protected void _scanGetShoesLast(Integer footScanId, String searchCondition,List<Integer> arrShoesLastIds) {
40
+        // 查询脚型获取匹配瑄
41
+        FootScanCommonEntity footScanCommonEntity =  footScanCommonMapper.selectOne(
42
+                new QueryWrapper<FootScanCommonEntity>().eq("foot_scan_id",footScanId));
43
+        if(Objects.isNull(footScanCommonEntity)) {
44
+           return;
45
+        }
46
+        // 左右脚分别匹配楦
47
+        QueryWrapper<ShoesLastEntity>  leftQueryWrapper = new QueryWrapper<>();
48
+        leftQueryWrapper.eq("shoes_length",footScanCommonEntity.getLeftLength())
49
+                .ge("matchAll".equals(searchCondition),"shoes_min_width",footScanCommonEntity.getLeftWidth())
50
+                .le("matchAll".equals(searchCondition),"shoes_max_width",footScanCommonEntity.getLeftWidth())
51
+                .in(arrShoesLastIds!=null,"shoes_last_id",arrShoesLastIds);
52
+        List<ShoesLastEntity> shoesLastEntities = shoesLastMapper.selectList(leftQueryWrapper);
53
+
54
+
55
+    }
56
+
57
+
58
+
59
+
60
+}

+ 4 - 4
src/main/resources/application-dev.yml

@@ -18,7 +18,7 @@ spring:
18 18
         login-username: zxy
19 19
         login-password: 123456
20 20
       driver-class-name: com.mysql.cj.jdbc.Driver
21
-      url: jdbc:mysql://localhost:3306/test?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
21
+      url: jdbc:mysql://localhost:3306/ceshi?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
22 22
       username: root
23 23
       password:
24 24
   jpa:
@@ -30,6 +30,6 @@ mybatis:
30 30
 #  mapper-locations: classpath:mapper/*.xml
31 31
   configuration:
32 32
     map-underscore-to-camel-case: true
33
-mybatis-plus:
34
-  configuration:
35
-    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
33
+#mybatis-plus:
34
+#  configuration:
35
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

+ 10 - 0
src/main/resources/mapper/FootScanCommonMapper.xml

@@ -0,0 +1,10 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper
3
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+
6
+<mapper namespace="com.example.springbootdemo.mapper.FootScanCommonMapper">
7
+
8
+
9
+
10
+</mapper>

+ 50 - 0
src/main/resources/mapper/ShoesLastMapper.xml

@@ -0,0 +1,50 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3
+<mapper namespace="com.example.springbootdemo.mapper.ShoesLastMapper">
4
+    <!--namespace根据自己需要创建的的mapper的路径和名称填写-->
5
+    <sql id="baseCol">
6
+        shoes_last_id, original_size, shoes_size, shoes_length, shoes_min_width, shoes_width, shoes_max_width,
7
+        shoes_zhangwei, shoes_dougenwei, shoes_bottom_len, shoes_bottom_sample, shoes_all_len, shoes_bottom_width,
8
+        shoes_front_step, shoes_back_step, shoes_head, shoes_instep, shoes_waist, shoes_margin, shoes_allowance,
9
+        is_scan, shoes_last_type_id, shoes_last_scan_id, status, company_id,
10
+        ctime, utime
11
+    </sql>
12
+    <resultMap id="baseResultMap" type="com.example.springbootdemo.entity.ShoesLastEntity">
13
+        <id column="shoes_last_id" property="shoesLastId" />
14
+        <result column="original_size" property="originalSize" />
15
+        <result column="shoes_size" property="shoesSize" />
16
+        <result column="shoes_length" property="shoesLength" />
17
+        <result column="shoes_min_width" property="shoesMinWidth" />
18
+        <result column="shoes_width" property="shoesWidth" />
19
+        <result column="shoes_max_width" property="shoesMaxWidth" />
20
+        <result column="shoes_zhangwei" property="shoesZhangwei" />
21
+        <result column="shoes_dougenwei" property="shoesDougenwei" />
22
+        <result column="shoes_bottom_len" property="shoesBottomLen" />
23
+        <result column="shoes_bottom_sample" property="shoesBottomSample" />
24
+        <result column="shoes_all_len" property="shoesAllLen" />
25
+        <result column="shoes_bottom_width" property="shoesBottomWidth" />
26
+        <result column="shoes_front_step" property="shoesFrontStep" />
27
+        <result column="shoes_back_step" property="shoesBackStep" />
28
+        <result column="shoes_head" property="shoesHead" />
29
+        <result column="shoes_instep" property="shoesInstep" />
30
+        <result column="shoes_waist" property="shoesWaist" />
31
+        <result column="shoes_margin" property="shoesMargin" />
32
+        <result column="shoes_allowance" property="shoesAllowance" />
33
+        <result column="is_scan" property="isScan" />
34
+        <result column="shoes_last_type_id" property="shoesLastTypeId" />
35
+        <result column="shoes_last_scan_id" property="shoesLastScanId" />
36
+        <result column="status" property="status" />
37
+        <result column="company_id" property="companyId" />
38
+        <result column="ctime" property="ctime" />
39
+        <result column="utime" property="utime"/>
40
+    </resultMap>
41
+    <select id="selectByShoesLastId" resultMap="baseResultMap">
42
+        select
43
+        <include refid="baseCol"></include>
44
+        from wb_tbl_shoes_last
45
+        where shoes_last_id = #{shoesLastId}
46
+
47
+    </select>
48
+
49
+
50
+</mapper>