|
|
@@ -471,6 +471,7 @@ public class BgServiceImpl implements BgService {
|
|
|
@Override
|
|
|
public String findVideoInfoOther(String identificationCode, String resolutionRatio, Integer original, Integer subtitle, Integer recoding, String crudT) {
|
|
|
if ("2".equals(crudT)) {
|
|
|
+ identificationCode = identificationCode.trim();
|
|
|
// 更新/新增
|
|
|
int num = videoInfoOtherMapper.findByCode(identificationCode);
|
|
|
if (num == 0) {
|
|
|
@@ -482,9 +483,10 @@ public class BgServiceImpl implements BgService {
|
|
|
return "update success";
|
|
|
}
|
|
|
if ("3".equals(crudT)) {
|
|
|
+ identificationCode = identificationCode.trim();
|
|
|
//删除
|
|
|
videoInfoOtherMapper.delByCode(identificationCode);
|
|
|
- return "success";
|
|
|
+ return "delete success";
|
|
|
}
|
|
|
|
|
|
// 查询
|