Commit 038dec3b by Leslie1w

App语音与视频相关接口

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