Commit 06cb807b545093c2fb941709c81d42bd799333df
1 parent
10097d54
m
Showing
8 changed files
with
49 additions
and
28 deletions
trash-common/pom.xml
| @@ -131,7 +131,7 @@ | @@ -131,7 +131,7 @@ | ||
| 131 | <dependency> | 131 | <dependency> |
| 132 | <groupId>com.huaweicloud</groupId> | 132 | <groupId>com.huaweicloud</groupId> |
| 133 | <artifactId>esdk-obs-java</artifactId> | 133 | <artifactId>esdk-obs-java</artifactId> |
| 134 | - <version>[3.20.6.1,)</version> | 134 | + <version>3.24.12</version> |
| 135 | </dependency> | 135 | </dependency> |
| 136 | <!-- mybatis-plus 增强CRUD --> | 136 | <!-- mybatis-plus 增强CRUD --> |
| 137 | <dependency> | 137 | <dependency> |
trash-garbage/pom.xml
| @@ -3,6 +3,14 @@ | @@ -3,6 +3,14 @@ | ||
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
| 5 | http://maven.apache.org/xsd/maven-4.0.0.xsd"> | 5 | http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 6 | + | ||
| 7 | + | ||
| 8 | + <repositories> | ||
| 9 | + <repository> | ||
| 10 | + <id>central</id> | ||
| 11 | + <url>https://repo.maven.apache.org/maven2</url> | ||
| 12 | + </repository> | ||
| 13 | + </repositories> | ||
| 6 | <parent> | 14 | <parent> |
| 7 | <artifactId>trash</artifactId> | 15 | <artifactId>trash</artifactId> |
| 8 | <groupId>com.trash</groupId> | 16 | <groupId>com.trash</groupId> |
| @@ -19,23 +27,23 @@ | @@ -19,23 +27,23 @@ | ||
| 19 | <dependency> | 27 | <dependency> |
| 20 | <groupId>com.google.zxing</groupId> | 28 | <groupId>com.google.zxing</groupId> |
| 21 | <artifactId>javase</artifactId> | 29 | <artifactId>javase</artifactId> |
| 22 | - <version>3.5.3</version> | 30 | + <version>3.3.0</version> |
| 23 | </dependency> | 31 | </dependency> |
| 24 | 32 | ||
| 25 | <dependency> | 33 | <dependency> |
| 26 | <groupId>com.google.zxing</groupId> | 34 | <groupId>com.google.zxing</groupId> |
| 27 | <artifactId>core</artifactId> | 35 | <artifactId>core</artifactId> |
| 28 | - <version>3.5.3</version> | 36 | + <version>3.3.0</version> |
| 29 | </dependency> | 37 | </dependency> |
| 30 | 38 | ||
| 31 | - <!-- https://mvnrepository.com/artifact/QRCode/QRCode --> | 39 | + <!-- https://mvnrepository.com/artifact/QRCode/QRCode |
| 32 | <dependency> | 40 | <dependency> |
| 33 | <groupId>com.github</groupId> | 41 | <groupId>com.github</groupId> |
| 34 | <artifactId>QRCode</artifactId> | 42 | <artifactId>QRCode</artifactId> |
| 35 | <version>1.0.0</version> | 43 | <version>1.0.0</version> |
| 36 | <classifier>sources</classifier> | 44 | <classifier>sources</classifier> |
| 37 | <type>java-source</type> | 45 | <type>java-source</type> |
| 38 | - </dependency> | 46 | + </dependency>--> |
| 39 | 47 | ||
| 40 | 48 | ||
| 41 | <dependency> | 49 | <dependency> |
trash-garbage/src/main/java/com/trash/garbage/service/impl/GarUserServiceImpl.java
| 1 | package com.trash.garbage.service.impl; | 1 | package com.trash.garbage.service.impl; |
| 2 | 2 | ||
| 3 | import java.security.spec.AlgorithmParameterSpec; | 3 | import java.security.spec.AlgorithmParameterSpec; |
| 4 | -import java.util.*; | 4 | +import java.util.ArrayList; |
| 5 | +import java.util.Arrays; | ||
| 6 | +import java.util.Collections; | ||
| 7 | +import java.util.HashMap; | ||
| 8 | +import java.util.HashSet; | ||
| 9 | +import java.util.List; | ||
| 10 | +import java.util.Map; | ||
| 11 | +import java.util.Objects; | ||
| 12 | +import java.util.Set; | ||
| 5 | import java.util.concurrent.TimeUnit; | 13 | import java.util.concurrent.TimeUnit; |
| 6 | 14 | ||
| 7 | import javax.annotation.Resource; | 15 | import javax.annotation.Resource; |
| @@ -10,13 +18,6 @@ import javax.crypto.spec.IvParameterSpec; | @@ -10,13 +18,6 @@ import javax.crypto.spec.IvParameterSpec; | ||
| 10 | import javax.crypto.spec.SecretKeySpec; | 18 | import javax.crypto.spec.SecretKeySpec; |
| 11 | import javax.servlet.http.HttpServletRequest; | 19 | import javax.servlet.http.HttpServletRequest; |
| 12 | 20 | ||
| 13 | -import com.alibaba.fastjson.JSON; | ||
| 14 | -import com.alibaba.fastjson.JSONArray; | ||
| 15 | -import com.trash.disposalSite.domain.DisposalSite; | ||
| 16 | -import com.trash.disposalSite.service.IDisposalSiteService; | ||
| 17 | -import com.trash.garbage.pojo.domain.GarUserReq; | ||
| 18 | -import com.trash.garbage.pojo.domain.GarUserReqDetail; | ||
| 19 | -import com.trash.garbage.utils.SMSUtils; | ||
| 20 | import org.apache.commons.codec.binary.Base64; | 21 | import org.apache.commons.codec.binary.Base64; |
| 21 | import org.apache.commons.collections4.CollectionUtils; | 22 | import org.apache.commons.collections4.CollectionUtils; |
| 22 | import org.springframework.beans.factory.annotation.Autowired; | 23 | import org.springframework.beans.factory.annotation.Autowired; |
| @@ -25,6 +26,8 @@ import org.springframework.security.core.userdetails.UsernameNotFoundException; | @@ -25,6 +26,8 @@ import org.springframework.security.core.userdetails.UsernameNotFoundException; | ||
| 25 | import org.springframework.stereotype.Service; | 26 | import org.springframework.stereotype.Service; |
| 26 | import org.springframework.transaction.annotation.Transactional; | 27 | import org.springframework.transaction.annotation.Transactional; |
| 27 | 28 | ||
| 29 | +import com.alibaba.fastjson.JSON; | ||
| 30 | +import com.alibaba.fastjson.JSONArray; | ||
| 28 | import com.alibaba.fastjson.JSONObject; | 31 | import com.alibaba.fastjson.JSONObject; |
| 29 | import com.aliyuncs.exceptions.ClientException; | 32 | import com.aliyuncs.exceptions.ClientException; |
| 30 | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; | 33 | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| @@ -38,6 +41,8 @@ import com.trash.common.core.domain.model.LoginUser; | @@ -38,6 +41,8 @@ import com.trash.common.core.domain.model.LoginUser; | ||
| 38 | import com.trash.common.core.redis.RedisCache; | 41 | import com.trash.common.core.redis.RedisCache; |
| 39 | import com.trash.common.utils.SecurityUtils; | 42 | import com.trash.common.utils.SecurityUtils; |
| 40 | import com.trash.common.utils.StringUtils; | 43 | import com.trash.common.utils.StringUtils; |
| 44 | +import com.trash.disposalSite.domain.DisposalSite; | ||
| 45 | +import com.trash.disposalSite.service.IDisposalSiteService; | ||
| 41 | import com.trash.driver.domain.vo.DriverVo; | 46 | import com.trash.driver.domain.vo.DriverVo; |
| 42 | import com.trash.driver.service.IDriverService; | 47 | import com.trash.driver.service.IDriverService; |
| 43 | import com.trash.enterprise.domain.TransportationEnterprise; | 48 | import com.trash.enterprise.domain.TransportationEnterprise; |
| @@ -51,12 +56,15 @@ import com.trash.garbage.global.ResultCode; | @@ -51,12 +56,15 @@ import com.trash.garbage.global.ResultCode; | ||
| 51 | import com.trash.garbage.mapper.GarUserMapper; | 56 | import com.trash.garbage.mapper.GarUserMapper; |
| 52 | import com.trash.garbage.pojo.domain.GarAddress; | 57 | import com.trash.garbage.pojo.domain.GarAddress; |
| 53 | import com.trash.garbage.pojo.domain.GarUser; | 58 | import com.trash.garbage.pojo.domain.GarUser; |
| 59 | +import com.trash.garbage.pojo.domain.GarUserReq; | ||
| 60 | +import com.trash.garbage.pojo.domain.GarUserReqDetail; | ||
| 54 | import com.trash.garbage.pojo.dto.AddressDto; | 61 | import com.trash.garbage.pojo.dto.AddressDto; |
| 55 | import com.trash.garbage.pojo.dto.LoginDto; | 62 | import com.trash.garbage.pojo.dto.LoginDto; |
| 56 | import com.trash.garbage.pojo.vo.LoginVo; | 63 | import com.trash.garbage.pojo.vo.LoginVo; |
| 57 | import com.trash.garbage.service.GarAddressService; | 64 | import com.trash.garbage.service.GarAddressService; |
| 58 | import com.trash.garbage.service.GarUserService; | 65 | import com.trash.garbage.service.GarUserService; |
| 59 | import com.trash.garbage.utils.JwtUtils; | 66 | import com.trash.garbage.utils.JwtUtils; |
| 67 | +import com.trash.garbage.utils.SMSUtils; | ||
| 60 | import com.trash.garbage.utils.ValidateCodeUtil; | 68 | import com.trash.garbage.utils.ValidateCodeUtil; |
| 61 | 69 | ||
| 62 | import cn.hutool.core.collection.CollectionUtil; | 70 | import cn.hutool.core.collection.CollectionUtil; |
trash-ui/dist.7z
No preview for this file type
trash-ui/src/views/unit/dropPointInfo/index.vue
| @@ -39,7 +39,7 @@ | @@ -39,7 +39,7 @@ | ||
| 39 | icon="el-icon-plus" | 39 | icon="el-icon-plus" |
| 40 | size="mini" | 40 | size="mini" |
| 41 | @click="handleAdd" | 41 | @click="handleAdd" |
| 42 | - v-hasPermi="['unit:dropPointInfo:add']" | 42 | + v-hasPermi="['business.supervision.droppoint.insert']" |
| 43 | >新增 | 43 | >新增 |
| 44 | </el-button> | 44 | </el-button> |
| 45 | </el-col> | 45 | </el-col> |
| @@ -50,7 +50,7 @@ | @@ -50,7 +50,7 @@ | ||
| 50 | size="mini" | 50 | size="mini" |
| 51 | :disabled="single" | 51 | :disabled="single" |
| 52 | @click="handleUpdate" | 52 | @click="handleUpdate" |
| 53 | - v-hasPermi="['unit:dropPointInfo:edit']" | 53 | + v-hasPermi="['business.supervision.droppoint.edit']" |
| 54 | >修改 | 54 | >修改 |
| 55 | </el-button> | 55 | </el-button> |
| 56 | </el-col> | 56 | </el-col> |
| @@ -61,7 +61,7 @@ | @@ -61,7 +61,7 @@ | ||
| 61 | size="mini" | 61 | size="mini" |
| 62 | :disabled="multiple" | 62 | :disabled="multiple" |
| 63 | @click="handleDelete" | 63 | @click="handleDelete" |
| 64 | - v-hasPermi="['unit:dropPointInfo:remove']" | 64 | + v-hasPermi="['business.supervision.droppoint.delete']" |
| 65 | >删除 | 65 | >删除 |
| 66 | </el-button> | 66 | </el-button> |
| 67 | </el-col> | 67 | </el-col> |
| @@ -71,7 +71,7 @@ | @@ -71,7 +71,7 @@ | ||
| 71 | icon="el-icon-download" | 71 | icon="el-icon-download" |
| 72 | size="mini" | 72 | size="mini" |
| 73 | @click="handleExport" | 73 | @click="handleExport" |
| 74 | - v-hasPermi="['unit:dropPointInfo:export']" | 74 | + v-hasPermi="['business.supervision.droppoint.export']" |
| 75 | >导出 | 75 | >导出 |
| 76 | </el-button> | 76 | </el-button> |
| 77 | </el-col> | 77 | </el-col> |
trash-unit/src/main/java/com/trash/dropPointInfo/service/impl/DropPointInfoServiceImpl.java
| @@ -76,21 +76,22 @@ public class DropPointInfoServiceImpl implements IDropPointInfoService | @@ -76,21 +76,22 @@ public class DropPointInfoServiceImpl implements IDropPointInfoService | ||
| 76 | { | 76 | { |
| 77 | dropPointInfo.setCreateTime(DateUtils.getNowDate()); | 77 | dropPointInfo.setCreateTime(DateUtils.getNowDate()); |
| 78 | dropPointInfo.setCreateBy(SecurityUtils.getUsername()); | 78 | dropPointInfo.setCreateBy(SecurityUtils.getUsername()); |
| 79 | - | 79 | + dropPointInfo.setStatus(1); |
| 80 | int i = dropPointInfoMapper.insertDropPointInfo(dropPointInfo); | 80 | int i = dropPointInfoMapper.insertDropPointInfo(dropPointInfo); |
| 81 | 81 | ||
| 82 | if(i == 0){ | 82 | if(i == 0){ |
| 83 | return i; | 83 | return i; |
| 84 | } | 84 | } |
| 85 | - Map<String, String> map = new HashMap<String, String>(); | ||
| 86 | - map.put("name", dropPointInfo.getDropPointName()); | ||
| 87 | - map.put("area", dropPointInfo.getDistrict()); | ||
| 88 | - map.put("id", dropPointInfo.getId()+""); | ||
| 89 | - | ||
| 90 | - i = workflow.createDropPointWorkFlow(map); | ||
| 91 | - if (i == 0) { | ||
| 92 | - dropPointInfoMapper.deleteDropPointInfoById(dropPointInfo.getId()); | ||
| 93 | - } | 85 | + //先不提交流程 |
| 86 | +// Map<String, String> map = new HashMap<String, String>(); | ||
| 87 | +// map.put("name", dropPointInfo.getDropPointName()); | ||
| 88 | +// map.put("area", dropPointInfo.getDistrict()); | ||
| 89 | +// map.put("id", dropPointInfo.getId()+""); | ||
| 90 | +// | ||
| 91 | +// i = workflow.createDropPointWorkFlow(map); | ||
| 92 | +// if (i == 0) { | ||
| 93 | +// dropPointInfoMapper.deleteDropPointInfoById(dropPointInfo.getId()); | ||
| 94 | +// } | ||
| 94 | 95 | ||
| 95 | return i; | 96 | return i; |
| 96 | } | 97 | } |
trash-workFlow/src/main/java/com/trash/casefile/controller/ViolationCaseFileController.java
| @@ -88,8 +88,10 @@ public class ViolationCaseFileController extends BaseController { | @@ -88,8 +88,10 @@ public class ViolationCaseFileController extends BaseController { | ||
| 88 | } | 88 | } |
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | - if(list.get(i).getStatus() == 1){ | 91 | + if (list.get(i).getStatus() == 1) { |
| 92 | list.get(i).status1 = "结案存档"; | 92 | list.get(i).status1 = "结案存档"; |
| 93 | + }else if (list.get(i).getStatus() == 2) { | ||
| 94 | + list.get(i).status1 = "被驳回"; | ||
| 93 | }else if(list.get(i).getReadBy() == null || list.get(i).getReadBy().isEmpty()){ | 95 | }else if(list.get(i).getReadBy() == null || list.get(i).getReadBy().isEmpty()){ |
| 94 | list.get(i).status1 = "未回复"; | 96 | list.get(i).status1 = "未回复"; |
| 95 | }else if(list.get(i).status1!= null && Integer.parseInt(list.get(i).status1) == 1){ | 97 | }else if(list.get(i).status1!= null && Integer.parseInt(list.get(i).status1) == 1){ |
trash-workFlow/src/main/java/com/trash/casefile/controller/ViolationWarningInformationController.java
| @@ -83,6 +83,8 @@ public class ViolationWarningInformationController extends BaseController | @@ -83,6 +83,8 @@ public class ViolationWarningInformationController extends BaseController | ||
| 83 | 83 | ||
| 84 | if(list.get(i).getStatus() == 1){ | 84 | if(list.get(i).getStatus() == 1){ |
| 85 | list.get(i).status1 = "结案存档"; | 85 | list.get(i).status1 = "结案存档"; |
| 86 | + }else if (list.get(i).getStatus() == 2) { | ||
| 87 | + list.get(i).status1 = "被驳回"; | ||
| 86 | }else if(list.get(i).getReadBy() == null){ | 88 | }else if(list.get(i).getReadBy() == null){ |
| 87 | list.get(i).status1 = "未回复"; | 89 | list.get(i).status1 = "未回复"; |
| 88 | }else if(list.get(i).status1!= null && Integer.parseInt(list.get(i).status1) == 1){ | 90 | }else if(list.get(i).status1!= null && Integer.parseInt(list.get(i).status1) == 1){ |