Commit 9d1ec673 by dupengfei

兵团车辆布控对接侦查指令,部分实现

parent f4636058
......@@ -100,6 +100,18 @@
<artifactId>poi</artifactId>
<version>3.9</version>
</dependency>
<!--word 导出-->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.9</version>
</dependency>
<dependency>
<groupId>cn.afterturn</groupId>
<artifactId>easypoi-spring-boot-starter</artifactId>
<version>4.4.0</version>
</dependency>
</dependencies>
......
package com.founder.model;
/*
* @Description TODO
* @Author du_pengfei
* @Date 2021/8/23
* @Version 1.0
*/
public class AppNotificationVO {
public String notificationId;
public String title;
public String brandreliability;
public String calling;
public String carofvehicle;
public String numofpassenger;
public String direction;
public String safetybelt;
public String hasplate;
public String hitmarkinfo;
public String isaltered;
public String iscovered;
public String isdecked;
public String ismodified;
public String issuspicious;
public String motorvehicleid;
public String nameofpassedroad;
public String passday;
public String pastime;
public String platecolor;
public String platedescribe;
public String reason;
public String shottime;
public String speed;
public String storageurl5;
public String storageurl4;
public String storageurl3;
public String storageurl2;
public String storageurl1;
public String tollgateid;
public String triggertime;
public String vehiclecolor;
public String vehicleheight;
public String vehiclelength;
public String wheelprintedpattern;
public String getNotificationId() {
return notificationId;
}
public void setNotificationId(String notificationId) {
this.notificationId = notificationId;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getBrandreliability() {
return brandreliability;
}
public void setBrandreliability(String brandreliability) {
this.brandreliability = brandreliability;
}
public String getCalling() {
return calling;
}
public void setCalling(String calling) {
this.calling = calling;
}
public String getCarofvehicle() {
return carofvehicle;
}
public void setCarofvehicle(String carofvehicle) {
this.carofvehicle = carofvehicle;
}
public String getNumofpassenger() {
return numofpassenger;
}
public void setNumofpassenger(String numofpassenger) {
this.numofpassenger = numofpassenger;
}
public String getDirection() {
return direction;
}
public void setDirection(String direction) {
this.direction = direction;
}
public String getSafetybelt() {
return safetybelt;
}
public void setSafetybelt(String safetybelt) {
this.safetybelt = safetybelt;
}
public String getHasplate() {
return hasplate;
}
public void setHasplate(String hasplate) {
this.hasplate = hasplate;
}
public String getHitmarkinfo() {
return hitmarkinfo;
}
public void setHitmarkinfo(String hitmarkinfo) {
this.hitmarkinfo = hitmarkinfo;
}
public String getIsaltered() {
return isaltered;
}
public void setIsaltered(String isaltered) {
this.isaltered = isaltered;
}
public String getIscovered() {
return iscovered;
}
public void setIscovered(String iscovered) {
this.iscovered = iscovered;
}
public String getIsdecked() {
return isdecked;
}
public void setIsdecked(String isdecked) {
this.isdecked = isdecked;
}
public String getIsmodified() {
return ismodified;
}
public void setIsmodified(String ismodified) {
this.ismodified = ismodified;
}
public String getIssuspicious() {
return issuspicious;
}
public void setIssuspicious(String issuspicious) {
this.issuspicious = issuspicious;
}
public String getMotorvehicleid() {
return motorvehicleid;
}
public void setMotorvehicleid(String motorvehicleid) {
this.motorvehicleid = motorvehicleid;
}
public String getNameofpassedroad() {
return nameofpassedroad;
}
public void setNameofpassedroad(String nameofpassedroad) {
this.nameofpassedroad = nameofpassedroad;
}
public String getPassday() {
return passday;
}
public void setPassday(String passday) {
this.passday = passday;
}
public String getPastime() {
return pastime;
}
public void setPastime(String pastime) {
this.pastime = pastime;
}
public String getPlatecolor() {
return platecolor;
}
public void setPlatecolor(String platecolor) {
this.platecolor = platecolor;
}
public String getPlatedescribe() {
return platedescribe;
}
public void setPlatedescribe(String platedescribe) {
this.platedescribe = platedescribe;
}
public String getReason() {
return reason;
}
public void setReason(String reason) {
this.reason = reason;
}
public String getShottime() {
return shottime;
}
public void setShottime(String shottime) {
this.shottime = shottime;
}
public String getSpeed() {
return speed;
}
public void setSpeed(String speed) {
this.speed = speed;
}
public String getStorageurl5() {
return storageurl5;
}
public void setStorageurl5(String storageurl5) {
this.storageurl5 = storageurl5;
}
public String getStorageurl4() {
return storageurl4;
}
public void setStorageurl4(String storageurl4) {
this.storageurl4 = storageurl4;
}
public String getStorageurl3() {
return storageurl3;
}
public void setStorageurl3(String storageurl3) {
this.storageurl3 = storageurl3;
}
public String getStorageurl2() {
return storageurl2;
}
public void setStorageurl2(String storageurl2) {
this.storageurl2 = storageurl2;
}
public String getStorageurl1() {
return storageurl1;
}
public void setStorageurl1(String storageurl1) {
this.storageurl1 = storageurl1;
}
public String getTollgateid() {
return tollgateid;
}
public void setTollgateid(String tollgateid) {
this.tollgateid = tollgateid;
}
public String getTriggertime() {
return triggertime;
}
public void setTriggertime(String triggertime) {
this.triggertime = triggertime;
}
public String getVehiclecolor() {
return vehiclecolor;
}
public void setVehiclecolor(String vehiclecolor) {
this.vehiclecolor = vehiclecolor;
}
public String getVehicleheight() {
return vehicleheight;
}
public void setVehicleheight(String vehicleheight) {
this.vehicleheight = vehicleheight;
}
public String getVehiclelength() {
return vehiclelength;
}
public void setVehiclelength(String vehiclelength) {
this.vehiclelength = vehiclelength;
}
public String getWheelprintedpattern() {
return wheelprintedpattern;
}
public void setWheelprintedpattern(String wheelprintedpattern) {
this.wheelprintedpattern = wheelprintedpattern;
}
}
package com.founder.model;
/*
* @Description 通知消息体
* @Author du_pengfei
* @Date 2021/8/20
* @Version 1.0
*/
public class TbAppNotification {
public String notificationId;
public String title; //通知标题,布控的主题和目标,其实就是车牌号
public String triggerTime; //触发时间
public String cntObjectId;
public String getNotificationId() {
return notificationId;
}
public void setNotificationId(String notificationId) {
this.notificationId = notificationId;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getTriggerTime() {
return triggerTime;
}
public void setTriggerTime(String triggerTime) {
this.triggerTime = triggerTime;
}
public String getCntObjectId() {
return cntObjectId;
}
public void setCntObjectId(String cntObjectId) {
this.cntObjectId = cntObjectId;
}
}
package com.founder.model;
/*
* @Description TODO
* @Author du_pengfei
* @Date 2021/8/20
* @Version 1.0
*/
public class TbAppSubimageinfoobject {
public String id ; // '主键id'
public String notificationid ; // '告警唯一标识'
public String deviceid ; // '采集设备编码'
public String eventsort ; // '事件分类'
public String fileformat ; // '图像文件格式'
public String imageid ; // '图像标识'
public String shottime ; // '拍摄时间'
public String storagepath ; // '图像的存储路径'
public String height ; // '高 垂直像素'
public String width ; // '宽 水平像素'
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getNotificationid() {
return notificationid;
}
public void setNotificationid(String notificationid) {
this.notificationid = notificationid;
}
public String getDeviceid() {
return deviceid;
}
public void setDeviceid(String deviceid) {
this.deviceid = deviceid;
}
public String getEventsort() {
return eventsort;
}
public void setEventsort(String eventsort) {
this.eventsort = eventsort;
}
public String getFileformat() {
return fileformat;
}
public void setFileformat(String fileformat) {
this.fileformat = fileformat;
}
public String getImageid() {
return imageid;
}
public void setImageid(String imageid) {
this.imageid = imageid;
}
public String getShottime() {
return shottime;
}
public void setShottime(String shottime) {
this.shottime = shottime;
}
public String getStoragepath() {
return storagepath;
}
public void setStoragepath(String storagepath) {
this.storagepath = storagepath;
}
public String getHeight() {
return height;
}
public void setHeight(String height) {
this.height = height;
}
public String getWidth() {
return width;
}
public void setWidth(String width) {
this.width = width;
}
}
package com.founder.util;
import cn.afterturn.easypoi.word.WordExportUtil;
import org.apache.poi.xwpf.usermodel.XWPFDocument;
import org.springframework.util.Assert;
import org.springframework.util.FileSystemUtils;
import java.io.*;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Map;
/*
* @Description TODO
* @Author du_pengfei
* @Date 2021/8/20
* @Version 1.0
*/
public class WordUtil {
public static void exportWord(String templatePath, String temDir, String fileName, Map<String, Object> params) throws FileNotFoundException {
Assert.notNull(templatePath,"模板路径不能为空");
Assert.notNull(temDir,"临时文件路径不能为空");
Assert.notNull(fileName,"导出文件名不能为空");
Assert.isTrue(fileName.endsWith(".docx"),"word导出请使用docx格式");
if (!temDir.endsWith("/")){
temDir = temDir + File.separator;
}
File dir = new File(temDir);
if (!dir.exists()) {
dir.mkdirs();
}
try {
XWPFDocument doc = WordExportUtil.exportWord07(templatePath, params);
String tmpPath = temDir + fileName;
FileOutputStream fos = new FileOutputStream(tmpPath);
doc.write(fos);
fos.close();
} catch (Exception e){
e.printStackTrace();
} finally {
//delAllFile(temDir);
}
}
/*
* 删除路径下所有文件
* */
public static void delAllFiles(String temDir){
FileSystemUtils.deleteRecursively(new File(temDir));
}
/*
* 图片转为byte 数组
* */
public static byte[] image2byte(String path) throws IOException {
byte[] data = null;
URL url = null;
InputStream inputStream = null;
try {
url = new URL(path);
HttpURLConnection httpURLConnection = (HttpURLConnection) url.openConnection();
httpURLConnection.connect();
inputStream = httpURLConnection.getInputStream();
} catch (Exception e){
e.printStackTrace();
return null;
}
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
byte[] bytes = new byte[1024];
int numBytesRead = 0;
while ((numBytesRead = inputStream.read(bytes)) != -1){
byteArrayOutputStream.write(bytes, 0, numBytesRead);
}
data = byteArrayOutputStream.toByteArray();
inputStream.close();
byteArrayOutputStream.close();
return data;
}
}
package com.founder.zczl.controller;
import cn.afterturn.easypoi.entity.ImageEntity;
import cn.afterturn.easypoi.word.WordExportUtil;
import net.sf.json.JSONArray;
import com.founder.login.service.ILoginService;
import com.founder.model.*;
......@@ -21,6 +23,9 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.Instant;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.*;
/**
......@@ -47,6 +52,8 @@ public class ZczlController {
@Autowired
private MessageService messageService;//写入消息中心的类
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
/**
* 根据分派时间
* @param fpsj
......@@ -289,6 +296,124 @@ public class ZczlController {
return tj;
}
/*@PostMapping("/receivedNewData")
public Map<String, Object> receivedNewData(@RequestParam(required = true) String id) throws IOException {
TbYwZczl tbYwZczl = new TbYwZczl();
User user = loginService.getUserByUsername("admin");
String zczlbh = anjianSeqService.ngzbhzhFnVal("TB_YW_ZCZL");
tbYwZczl.setZlfqrxm(user.getTrueName());
tbYwZczl.setZlfqrlxdh(user.getTelephone());
tbYwZczl.setZlfqrgmsfhm(user.getIdentitycard());
tbYwZczl.setZlfqrgajgdm(user.getUnitcode());
tbYwZczl.setZlfqrdwmc(user.getUnitname());
tbYwZczl.setXxscpdbz("0");
tbYwZczl.setFqrjh(user.getPolicemanid());
tbYwZczl.setZczlbh(zczlbh);
tbYwZczl.setSpsftg("2");
tbYwZczl.setYwmc("车辆布控侦查指令");
tbYwZczl.setHbqx(feedbackTime(1));
tbYwZczl.setYwlx("1");
tbYwZczl.setZllx("9900");
tbYwZczl.setZlsy("公安厅车辆布控侦查反馈");
tbYwZczl.setGzyq("请接到指令后立即组织工作专班,围绕车辆布控车辆信息文件中提供的线索进一步侦查工作,确定布控车辆位置,组织排查。相关工作情况没五日上报公安厅");
//1 遍历最新的 id
String[] strings = id.split(",");
for (String str : strings){
List<AppNotificationVO> notification = zczlService.queryNotification(str);
//2 生成 docx 文档
Map<String, Object> map = new HashMap<>();
List<ImageEntity> image = new ArrayList<>();
String temFileName = "布控车辆详情.docx";
for (AppNotificationVO app: notification){
map.put("title", app.getTitle());
map.put("brandreliability", app.getBrandreliability());
map.put("calling", app.getCalling());
map.put("carofvehicle", app.getCarofvehicle());
map.put("numofpassenger", app.getNumofpassenger());
map.put("direction", app.getDirection());
map.put("safetybelt", app.getSafetybelt());
map.put("hasplate", app.getHasplate());
map.put("hitmarkinfo", app.getHitmarkinfo());
map.put("isaltered", app.getIsaltered());
map.put("iscovered", app.getIscovered());
map.put("isdecked", app.getIsdecked());
map.put("ismodified", app.getIsmodified());
map.put("issuspicious", app.getIssuspicious());
map.put("motorvehicleid", app.getMotorvehicleid());
map.put("nameofpassedroad", app.getNameofpassedroad());
map.put("passday", app.getPassday());
map.put("pastime", app.getPastime());
map.put("platecolor", app.getPlatecolor());
map.put("platedescribe", app.getPlatedescribe());
map.put("reason", app.getReason());
map.put("shottime", app.getShottime());
map.put("speed", app.getSpeed());
map.put("storageurl5", new ImageEntity(WordUtil.image2byte(app.getStorageurl5()), 200, 100));
map.put("storageurl4", new ImageEntity(WordUtil.image2byte(app.getStorageurl4()), 200, 100));
map.put("storageurl3", new ImageEntity(WordUtil.image2byte(app.getStorageurl3()), 200, 100));
map.put("storageurl2", new ImageEntity(WordUtil.image2byte(app.getStorageurl2()), 200, 100));
map.put("storageurl1", new ImageEntity(WordUtil.image2byte(app.getStorageurl1()), 200, 100));
map.put("tollgateid", app.getTollgateid());
map.put("triggertime", app.getTriggertime());
map.put("vehiclecolor", app.getVehiclecolor());
map.put("vehicleheight", app.getVehicleheight());
map.put("vehiclelength", app.getVehiclelength());
map.put("wheelprintedpattern", app.getWheelprintedpattern());
List<TbAppSubimageinfoobject> imageInfo = zczlService.queryImageInfo(app.getNotificationId());
for (TbAppSubimageinfoobject img : imageInfo){
ImageEntity imageEntity = new ImageEntity(WordUtil.image2byte(img.getStoragepath()), 200, 100);
image.add(imageEntity);
}
map.put("pictures", image);
}
//WordUtil.exportWord();
//3 插入数据到 tb_yw_zczl
// 插入数据 到 tb_yw_zczl_fj
//4 删除 临时文件
//WordUtil.delAllFiles("src/main/resources/temp/"+temFileName);
//5 修改标识 表示已经发送了侦查指令
//int flag = zczlService.updateNotification();
}
HashMap<String, Object> resultMap = new HashMap<>();
resultMap.put("code", 200);
resultMap.put("success","true");
return resultMap;
}
public void dayTask(){
}
*/
/**
* 跳转侦查指令统计
* @return
......@@ -3346,6 +3471,11 @@ public class ZczlController {
}
//审批权限查询与设置--end
private String feedbackTime(int qx){
return LocalDate.now().plusWeeks(qx).format(formatter);
}
}
......@@ -160,4 +160,12 @@ public interface ZczlDao {
int updateQxfp(TbYwZczlSpqx tbYwZczlSpqx);
List<String> queryAllUserIdByYwlx(String startId);
List<AppNotificationVO> queryNotification(String id);
List<TbAppSubimageinfoobject> queryImageInfo(String id);
int updateNotification(String id);
}
......@@ -147,4 +147,6 @@ public interface IZczlService {
Map getFpqxxxByUserId(String userId);
String doQxfp(TbYwZczlSpqx tbYwZczlSpqx);
}
spring.datasource.url=jdbc:oracle:thin:@47.92.129.99:1600:orcl
spring.datasource.url=jdbc:oracle:thin:@47.92.129.99:1560:ORCL
spring.datasource.username=XZXT
spring.datasource.password=XZXT
spring.datasource.password=XzPwd#11022
spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
logging.path=E:/log
......@@ -13,11 +13,11 @@ logging.level.org.spring.springboot.dao=debug
# Redis\u6570\u636E\u5E93\u7D22\u5F15\uFF08\u9ED8\u8BA4\u4E3A0\uFF09
spring.redis.database=0
# Redis\u670D\u52A1\u5668\u5730\u5740
spring.redis.host=127.0.0.1
spring.redis.host=47.92.225.109
# Redis\u670D\u52A1\u5668\u8FDE\u63A5\u7AEF\u53E3
spring.redis.port=6379
spring.redis.port=3001
# Redis\u670D\u52A1\u5668\u8FDE\u63A5\u5BC6\u7801\uFF08\u9ED8\u8BA4\u4E3A\u7A7A\uFF09
spring.redis.password=
spring.redis.password=123
# \u8FDE\u63A5\u6C60\u6700\u5927\u8FDE\u63A5\u6570\uFF08\u4F7F\u7528\u8D1F\u503C\u8868\u793A\u6CA1\u6709\u9650\u5236\uFF09
spring.redis.pool.max-active=8
# \u8FDE\u63A5\u6C60\u6700\u5927\u963B\u585E\u7B49\u5F85\u65F6\u95F4\uFF08\u4F7F\u7528\u8D1F\u503C\u8868\u793A\u6CA1\u6709\u9650\u5236\uFF09
......@@ -29,4 +29,20 @@ spring.redis.pool.min-idle=5
# \u8FDE\u63A5\u8D85\u65F6\u65F6\u95F4\uFF08\u6BEB\u79D2\uFF09
ssdw=15
zhyyPath=http://zhyy.xzxt.nm:7001
\ No newline at end of file
zhyyPath=http://zhyy.xzxt.nm:7001
qxUrl=http://qx.xzxt.nm:9044
domain=.xzxt.nm
#�ۺ�Ӧ��
#���ָ��
zczlUrl=http://localhost:9022
#�������
asjZbUrl = http://192.168.0.100:9100
#��������
asjCbUrl = http://localhost:9013
#���ƽ̨
zcptUrl = http://192.168.0.108:9100
#����ƽ̨
ztptUrl = http://192.168.0.108:9100
\ No newline at end of file
#��������ʹ��dev����ʽ����ʹ��prod
spring.profiles.active=pro
spring.profiles.active=dev
server.port=9046
# ҳ��Ĭ��ǰ׺Ŀ¼
spring.mvc.view.prefix=/WEB-INF/jsp/
......
......@@ -1852,4 +1852,67 @@
<!-- 审批权限查询与设置end -->
<!--查询 布控信息-->
<select id="queryNotification" resultType="com.founder.model.AppNotificationVO">
select n.TITLE title,
n.NOTIFICATIONID notificationId,
m.BRANDRELIABILITY brandreliability,
m.CALLING calling,
m.CAROFVEHICLE carofvehicle,
m.NUMOFPASSENGER numofpassenger,
m.DIRECTION direction,
m.SAFETYBELT safetybelt,
m.HASPLATE hasplate,
m.HITMARKINFO hitmarkinfo,
m.ISALTERED isaltered,
m.ISCOVERED iscovered,
m.ISDECKED isdecked,
m.ISMODIFIED ismodified,
m.ISSUSPICIOUS issuspicious,
m.MOTORVEHICLEID motorvehicleid,
m.NAMEOFPASSEDROAD nameofpassedroad,
to_char(to_date(m.PASSDAY, 'yyyyMMdd hh24miss'), 'yyyy-MM-dd hh24:mi:ss') passday,
to_char(to_date(m.PASSTIME, 'yyyyMMdd hh24miss'), 'yyyy-MM-dd hh24:mi:ss') pastime,
m.PLATECOLOR platecolor,
m.PLATEDESCRIBE platedescribe,
m.REASON reason,
to_char(to_date(m.SHOTTIME, 'yyyyMMdd hh24miss'), 'yyyy-MM-dd hh24:mi:ss') shottime,
m.SPEED speed,
m.STORAGEURL5 storageurl5,
m.STORAGEURL4 storageurl4,
m.STORAGEURL3 storageurl3,
m.STORAGEURL2 storageurl2,
m.STORAGEURL1 storageurl1,
m.TOLLGATEID tollgateid,
m.TRIGGERTIME triggertime,
m.VEHICLECOLOR vehiclecolor,
m.VEHICLEHEIGHT vehicleheight,
m.VEHICLELENGTH vehiclelength,
m.WHEELPRINTEDPATTERN wheelprintedpattern
from TB_APP_NOTIFICATION n left join TB_APP_MOTORVEHICLEOBJECT m on n.NOTIFICATIONID = m.NOTIFICATIONID
where n.flag = '0'
<if test="id != null and id != '' ">
and n.NOTIFICATIONID = #{id, jdbcType=VARCHAR}
</if>
</select>
<select id="queryImageInfo" resultType="com.founder.model.TbAppSubimageinfoobject">
select HEIGHT height,
WIDTH width,
STORAGEPATH storagepath
from TB_APP_SUBIMAGEINFOOBJECT
<if test="id != null and id != '' ">
and n.NOTIFICATIONID = #{id, jdbcType=VARCHAR}
</if>
</select>
<update id="updateNotification" >
update TB_APP_NOTIFICATION set flag = '1'
where NOTIFICATIONID = #{id, jdbcType=VARCHAR}
</update>
</mapper>
\ No newline at end of file
......@@ -376,7 +376,7 @@
window.open(url,"_self");
}
//
function doAddZczl(flag) {
if($("#ywmc").val()=="" || $("#ywmc").val()==null){
layer.alert("业务名称必填!","提示");
......
package com.founder;
import cn.afterturn.easypoi.entity.ImageEntity;
import com.founder.model.AppNotificationVO;
import com.founder.util.WordUtil;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
@RunWith(SpringRunner.class)
@SpringBootTest
public class ZczlServiceApplicationTests {
@Test
public void contextLoads() {
public void contextLoads() throws IOException {
//ImageEntity wordImageEntity = new ImageEntity(WordUtil.image2byte("https://t7.baidu.com/it/u=2168645659,3174029352&fm=193&f=GIF"),200, 200);
//https://t7.baidu.com/it/u=2531125946,3055766435&fm=193&f=GIF
HashMap<String, Object> map = new HashMap<>();
ArrayList<ImageEntity> imageEntities = new ArrayList<>();
map.put("title", "蒙A12345");
map.put("brandreliability", "100");
imageEntities.add(new ImageEntity(WordUtil.image2byte("https://t7.baidu.com/it/u=2531125946,3055766435&fm=193&f=GIF"), 200, 100));
imageEntities.add(new ImageEntity(WordUtil.image2byte("https://t7.baidu.com/it/u=2168645659,3174029352&fm=193&f=GIF"), 200, 100));
imageEntities.add(new ImageEntity(WordUtil.image2byte("https://t7.baidu.com/it/u=2168645659,3174029352&fm=193&f=GIF"), 200, 100));
map.put("pictures", imageEntities);
WordUtil.exportWord("src/main/resources/word/export.docx", "src/main/resources/temp", "aaa.docx", map);
}
@Test
public void delTest(){
WordUtil.delAllFiles("src/main/resources/temp/aaa.docx");
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment