8.14
This commit is contained in:
parent
3301f249cc
commit
a8a496a8f9
@ -1,5 +1,8 @@
|
||||
package com.ruoyi.cms.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
@ -8,7 +11,7 @@ import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 虚仿真课对象 imitation
|
||||
*
|
||||
*
|
||||
* @author 点亮信息
|
||||
* @date 2024-08-02
|
||||
*/
|
||||
@ -17,6 +20,8 @@ public class Imitation extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("ID")
|
||||
@TableId(value = "ID", type = IdType.AUTO)
|
||||
/** 记录ID */
|
||||
private Long id;
|
||||
|
||||
|
@ -84,7 +84,7 @@ public class ImitationServiceImpl extends ServiceImpl<ImitationMapper, Imitation
|
||||
baseMapper.insertImitation(imitation);
|
||||
}
|
||||
|
||||
return 0;
|
||||
return 1;
|
||||
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
<div class="img">
|
||||
<div class="yl-right" v-if="item.imitationType == 1" > 国一流</div>
|
||||
<div class="yl-right" v-if="item.imitationType == 2" > 省一流</div>
|
||||
<img :src=" imgurl + item.imitationImage" class="imgWO" style="width: 100%; height: 100% ">
|
||||
<img :src=" item.imitationImage" class="imgWO" style="width: 100%; height: 100% ">
|
||||
</div>
|
||||
<div class="tt">
|
||||
{{ item.imitationTitle }}
|
||||
|
Loading…
Reference in New Issue
Block a user