Commit 3067b88e authored by 高滢's avatar 高滢

车企名称添加

parent 825fa55e
......@@ -74,8 +74,8 @@ public class Sample extends BaseEntity
@ApiModelProperty("生产企业")
private String manufacturingEnterprise;
/**样品类型 ['0'、'1']*/
@ApiModelProperty(value = "样品类型 ", notes = "['0'、'1']")
/** 0:整车样品 1:零部件样品 */
@ApiModelProperty("0:整车样品 1:零部件样品")
private String flag;
/** 生产企业名称*/
......@@ -93,4 +93,8 @@ public class Sample extends BaseEntity
/** 样品照片 */
@ApiModelProperty("样品照片")
private String samplePhotos;
/** 车企名称 */
@ApiModelProperty("车企名称")
private String carCompanyName;
}
......@@ -25,6 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="remark" column="remark" />
<result property="trademark" column="trademark" />
<result property="samplePhotos" column="sample_photos" />
<result property="carCompanyName" column="car_company_name" />
</resultMap>
<sql id="selectTSampleManagementVo">
......@@ -47,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
sm.remark,
sm.trademark,
sm.sample_photos,
sm.car_company_namem,
ae.enterprise_name
from t_sample sm
left join t_automobile_enterprise ae on ae.id = sm.enterprise_id
......
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