Commit a0864d74ef6c625d182f92fb9be79f912b4c9c43
1 parent
9ad783f9
fix: 修改用户类型 接单时判断出错
Showing
2 changed files
with
10 additions
and
10 deletions
trash-admin/pom.xml
| ... | ... | @@ -49,7 +49,7 @@ |
| 49 | 49 | <artifactId>springfox-swagger-ui</artifactId> |
| 50 | 50 | </dependency> |
| 51 | 51 | |
| 52 | - <!-- Mysql驱动包 --> | |
| 52 | + <!-- Mysql驱动包 --> | |
| 53 | 53 | <dependency> |
| 54 | 54 | <groupId>mysql</groupId> |
| 55 | 55 | <artifactId>mysql-connector-java</artifactId> |
| ... | ... | @@ -90,10 +90,10 @@ |
| 90 | 90 | <groupId>com.trash</groupId> |
| 91 | 91 | <artifactId>trash-unit</artifactId> |
| 92 | 92 | </dependency> |
| 93 | - <!-- <dependency> | |
| 93 | + <dependency> | |
| 94 | 94 | <groupId>com.trash</groupId> |
| 95 | 95 | <artifactId>trash-garbage</artifactId> |
| 96 | - </dependency> --> | |
| 96 | + </dependency> | |
| 97 | 97 | </dependencies> |
| 98 | 98 | |
| 99 | 99 | <build> |
| ... | ... | @@ -113,15 +113,15 @@ |
| 113 | 113 | </execution> |
| 114 | 114 | </executions> |
| 115 | 115 | </plugin> |
| 116 | - <plugin> | |
| 117 | - <groupId>org.apache.maven.plugins</groupId> | |
| 118 | - <artifactId>maven-war-plugin</artifactId> | |
| 119 | - <version>3.1.0</version> | |
| 116 | + <plugin> | |
| 117 | + <groupId>org.apache.maven.plugins</groupId> | |
| 118 | + <artifactId>maven-war-plugin</artifactId> | |
| 119 | + <version>3.1.0</version> | |
| 120 | 120 | <configuration> |
| 121 | 121 | <failOnMissingWebXml>false</failOnMissingWebXml> |
| 122 | 122 | <warName>${project.artifactId}</warName> |
| 123 | - </configuration> | |
| 124 | - </plugin> | |
| 123 | + </configuration> | |
| 124 | + </plugin> | |
| 125 | 125 | </plugins> |
| 126 | 126 | <finalName>${project.artifactId}</finalName> |
| 127 | 127 | </build> | ... | ... |
trash-garbage/src/main/java/com/trash/garbage/service/impl/GarOrderServiceImpl.java
| ... | ... | @@ -176,7 +176,7 @@ public class GarOrderServiceImpl extends ServiceImpl<GarOrderMapper, GarOrder> |
| 176 | 176 | String userId = SecurityUtils.getLoginUser().getUser().getUserId(); |
| 177 | 177 | GarUser user = garUserService.getById(userId); |
| 178 | 178 | // 运输员操作 TODO 公司所属 待清运- 》 清运中 |
| 179 | - if (GlobalStatus.UserStatusEnum.NORMAL_USER.getDescription().equals(user.getGarUserType())){ | |
| 179 | + if (GlobalStatus.UserStatusEnum.DRIVER_USER.getDescription().equals(user.getGarUserType())){ | |
| 180 | 180 | if (order.getGarOrderHandlerStatus().equals(GlobalStatus.GarOrderStatus.NEW_ORDER.getValue()) |
| 181 | 181 | || GlobalStatus.GarOrderStatus.NEW_ORDER.getValue().equals(dto.getHandleType())) { |
| 182 | 182 | LambdaUpdateWrapper<GarOrder> uw = new LambdaUpdateWrapper<>(); | ... | ... |