Commit 038dec3b by Leslie1w

App语音与视频相关接口

parent 76e447ec
......@@ -28,12 +28,12 @@ public class KyxsController {
@PostMapping("/saveNewKyxs")
@LogOper(czxxLbdm = "02", yymcJyqk = "0701", czxxJyqk = "新增可疑线索")
public R saveNewKyxs(String asjbh, String type,
@RequestParam(required = false) String kyhm, String kyyj,
@RequestParam(required = false) String kyhm, String kyyj, String yywz,
@RequestParam(required = false) MultipartFile file,
@RequestParam(required = false) Double jd,
@RequestParam(required = false) Double wd) {
try {
String xxzjbh = kyxsService.saveNewKyxs(asjbh, type, kyhm, kyyj, file, jd, wd);
String xxzjbh = kyxsService.saveNewKyxs(asjbh, type, kyhm, kyyj, file, jd, wd, yywz);
if (xxzjbh == null) {
return R.error("type不能为空");
}
......
......@@ -19,8 +19,8 @@ public class TbXwKyxsYy extends BaseModel {
private String xxzjbh;
//案事件编号
private String asjbh;
//录音语种
private String kyxsyyLyyz;
//录音文字
private String kyxsyyLywz;
//可疑语音内容
private byte[] kyxsyyYynr;
//可疑依据
......
......@@ -4,7 +4,7 @@
<select id="selectListByAsjbh" resultType="org.springblade.founder.asj.entity.TbXwKyxsYy">
select xxzjbh,
asjbh,
kyxsyy_lyyz,
kyxsyy_lywz,
kyxsyy_yynr,
kyxsyy_kyyj,
djsj,
......@@ -28,7 +28,7 @@
<select id="selectOneByXxzjbh" resultType="org.springblade.founder.asj.entity.TbXwKyxsYy">
select xxzjbh,
asjbh,
kyxsyy_lyyz,
kyxsyy_lywz,
kyxsyy_yynr,
kyxsyy_kyyj,
djsj,
......
......@@ -23,7 +23,7 @@ public interface KyxsService {
* @author lystar
* 2021/11/23 17:54
*/
String saveNewKyxs(String asjbh, String type, String kyhm, String kyyj, MultipartFile file, Double jd, Double wd) throws IOException;
String saveNewKyxs(String asjbh, String type, String kyhm, String kyyj, MultipartFile file, Double jd, Double wd,String yywz) throws IOException;
/**
* getKyxsByAsjbh 根据案件编号查询可疑线索
......
......@@ -68,7 +68,7 @@ public class KyxsServiceImpl implements KyxsService {
private ExecutorService CachedThreadPoolService;
@Override
public String saveNewKyxs(String asjbh, String type, String kyhm, String kyyj, MultipartFile file, Double jd, Double wd) throws IOException {
public String saveNewKyxs(String asjbh, String type, String kyhm, String kyyj, MultipartFile file, Double jd, Double wd,String yywz) throws IOException {
if (type != null) {
XzxtUser xzxtUser = SecureUtil.getUserXzxt();
String xxzjbh = xxzjbhService.getXxzjbh(xzxtUser.getUnitcode());
......@@ -131,7 +131,7 @@ public class KyxsServiceImpl implements KyxsService {
kyxsYy.setXxzjbh(xxzjbh);
kyxsYy.setAsjbh(asjbh);
kyxsYy.setKyxsyyYynr(file.getBytes());
kyxsYy.setKyxsyyLyyz(kyhm);
kyxsYy.setKyxsyyLywz(yywz);
kyxsYy.setKyxstxKyyj(kyyj);
kyxsYy.setXxscPdbz("0");
Utils.setUserDjxxAndCzxx(kyxsYy);
......
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