Merge branch 'main' of http://117.73.11.115:3000/Tony/god-ytr
This commit is contained in:
commit
a4915dcf50
@ -1,5 +1,6 @@
|
||||
package com.god.templateInfo.service.impl;
|
||||
|
||||
import com.god.common.utils.uuid.IdUtils;
|
||||
import com.god.templateInfo.domain.GodTemplateInfo;
|
||||
import com.god.templateInfo.mapper.GodTemplateInfoMapper;
|
||||
import com.god.templateInfo.service.IGodTemplateInfoService;
|
||||
@ -15,8 +16,7 @@ import java.util.List;
|
||||
* @date 2024-06-11
|
||||
*/
|
||||
@Service
|
||||
public class GodTemplateInfoServiceImpl implements IGodTemplateInfoService
|
||||
{
|
||||
public class GodTemplateInfoServiceImpl implements IGodTemplateInfoService {
|
||||
@Autowired
|
||||
private GodTemplateInfoMapper godTemplateInfoMapper;
|
||||
|
||||
@ -27,8 +27,7 @@ public class GodTemplateInfoServiceImpl implements IGodTemplateInfoService
|
||||
* @return 模板管理
|
||||
*/
|
||||
@Override
|
||||
public GodTemplateInfo selectGodTemplateInfoById(String id)
|
||||
{
|
||||
public GodTemplateInfo selectGodTemplateInfoById(String id) {
|
||||
return godTemplateInfoMapper.selectGodTemplateInfoById(id);
|
||||
}
|
||||
|
||||
@ -39,8 +38,7 @@ public class GodTemplateInfoServiceImpl implements IGodTemplateInfoService
|
||||
* @return 模板管理
|
||||
*/
|
||||
@Override
|
||||
public List<GodTemplateInfo> selectGodTemplateInfoList(GodTemplateInfo godTemplateInfo)
|
||||
{
|
||||
public List<GodTemplateInfo> selectGodTemplateInfoList(GodTemplateInfo godTemplateInfo) {
|
||||
return godTemplateInfoMapper.selectGodTemplateInfoList(godTemplateInfo);
|
||||
}
|
||||
|
||||
@ -51,8 +49,8 @@ public class GodTemplateInfoServiceImpl implements IGodTemplateInfoService
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertGodTemplateInfo(GodTemplateInfo godTemplateInfo)
|
||||
{
|
||||
public int insertGodTemplateInfo(GodTemplateInfo godTemplateInfo) {
|
||||
godTemplateInfo.setId(IdUtils.fastUUID());
|
||||
return godTemplateInfoMapper.insertGodTemplateInfo(godTemplateInfo);
|
||||
}
|
||||
|
||||
@ -63,8 +61,7 @@ public class GodTemplateInfoServiceImpl implements IGodTemplateInfoService
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateGodTemplateInfo(GodTemplateInfo godTemplateInfo)
|
||||
{
|
||||
public int updateGodTemplateInfo(GodTemplateInfo godTemplateInfo) {
|
||||
return godTemplateInfoMapper.updateGodTemplateInfo(godTemplateInfo);
|
||||
}
|
||||
|
||||
@ -75,8 +72,7 @@ public class GodTemplateInfoServiceImpl implements IGodTemplateInfoService
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteGodTemplateInfoByIds(String[] ids)
|
||||
{
|
||||
public int deleteGodTemplateInfoByIds(String[] ids) {
|
||||
return godTemplateInfoMapper.deleteGodTemplateInfoByIds(ids);
|
||||
}
|
||||
|
||||
@ -87,8 +83,7 @@ public class GodTemplateInfoServiceImpl implements IGodTemplateInfoService
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteGodTemplateInfoById(String id)
|
||||
{
|
||||
public int deleteGodTemplateInfoById(String id) {
|
||||
return godTemplateInfoMapper.deleteGodTemplateInfoById(id);
|
||||
}
|
||||
}
|
||||
|
@ -90,7 +90,7 @@
|
||||
<dict-tag :options="dict.type.template_type" :value="scope.row.templateType"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="价格" align="center" prop="price"/>
|
||||
<el-table-column label="价格(元)" align="center" prop="price"/>
|
||||
<el-table-column label="视频" align="center" prop="video" show-overflow-tooltip/>
|
||||
<el-table-column label="时间" align="center" prop="times">
|
||||
<template slot-scope="scope">
|
||||
@ -151,8 +151,8 @@
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="价格" prop="price">
|
||||
<el-input v-model="form.price" placeholder="请输入价格"/>
|
||||
<el-form-item label="价格(元)" prop="price">
|
||||
<el-input v-model="form.price" placeholder="请输入价格(元)"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="视频" prop="video">
|
||||
<el-input v-model="form.video" placeholder="请上传视频" disabled/>
|
||||
@ -248,7 +248,7 @@ export default {
|
||||
video: null,
|
||||
times: null,
|
||||
sysType: null,
|
||||
moduleType: null,
|
||||
moduleType: 'templateInfo',
|
||||
reserveOne: null,
|
||||
reserveTwo: null,
|
||||
reserveThree: null,
|
||||
@ -389,7 +389,7 @@ export default {
|
||||
times: null,
|
||||
remark: null,
|
||||
sysType: null,
|
||||
moduleType: null,
|
||||
moduleType: 'templateInfo',
|
||||
reserveOne: null,
|
||||
reserveTwo: null,
|
||||
reserveThree: null,
|
||||
|
@ -243,7 +243,6 @@
|
||||
type="text"
|
||||
icon="el-icon-video-camera"
|
||||
@click="playVideo(scope.row)"
|
||||
v-hasPermi="['species:video:remove']"
|
||||
>查看视频
|
||||
</el-button>
|
||||
</template>
|
||||
@ -356,7 +355,6 @@
|
||||
:before-upload="beforeUploadFiles"
|
||||
:file-list="fileList"
|
||||
:auto-upload="true"
|
||||
multiple
|
||||
>
|
||||
<el-button
|
||||
size="small"
|
||||
@ -368,6 +366,9 @@
|
||||
>只能上传mp4文件,且不超过100M</div>
|
||||
</el-upload>
|
||||
</el-form-item>
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-input v-model="form.remark" placeholder="请输入备注"/>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="图片" prop="phoneInfo">
|
||||
<image-upload v-model="form.phoneInfo"/>
|
||||
</el-form-item>-->
|
||||
|
Loading…
Reference in New Issue
Block a user