记得上下班打卡 | git大法好,push需谨慎

Commit ac98ac7c authored by jiangxiulong's avatar jiangxiulong

去掉音乐人id

parent 0c4e5dd5
...@@ -14,10 +14,6 @@ public class SweetYbEnrollParam implements Serializable { ...@@ -14,10 +14,6 @@ public class SweetYbEnrollParam implements Serializable {
private static final long serialVersionUID = 487812347569053758L; private static final long serialVersionUID = 487812347569053758L;
@ApiModelProperty(position = 10, required = true, value = "音乐人id", example = "1577654")
@NotNull(message = "音乐人id不能为空")
private Integer musicianId;
@ApiModelProperty(position = 11, required = false, value = "联系电话", example = "15888888888") @ApiModelProperty(position = 11, required = false, value = "联系电话", example = "15888888888")
private String contactTell; private String contactTell;
......
...@@ -30,11 +30,6 @@ public class SweetYbEnroll implements Serializable { ...@@ -30,11 +30,6 @@ public class SweetYbEnroll implements Serializable {
*/ */
private String enrollId; private String enrollId;
/**
* 音乐人id
*/
private Integer musicianId;
/** /**
* 联系电话 * 联系电话
*/ */
......
...@@ -494,7 +494,6 @@ CREATE TABLE `sweet_yb_enroll` ...@@ -494,7 +494,6 @@ CREATE TABLE `sweet_yb_enroll`
( (
`mid` bigint unsigned NOT NULL AUTO_INCREMENT primary key, `mid` bigint unsigned NOT NULL AUTO_INCREMENT primary key,
`enroll_id` varchar(255) NOT NULL DEFAULT '' COMMENT 'enroll_id', `enroll_id` varchar(255) NOT NULL DEFAULT '' COMMENT 'enroll_id',
`musician_id` int NOT NULL DEFAULT '0' COMMENT '音乐人id',
`contact_tell` varchar(30) NOT NULL DEFAULT '' COMMENT '联系电话', `contact_tell` varchar(30) NOT NULL DEFAULT '' COMMENT '联系电话',
`contact_wechat` varchar(64) NOT NULL DEFAULT '' COMMENT '联系微信', `contact_wechat` varchar(64) NOT NULL DEFAULT '' COMMENT '联系微信',
`nickname` varchar(255) NOT NULL DEFAULT '' COMMENT '乐队名称', `nickname` varchar(255) NOT NULL DEFAULT '' COMMENT '乐队名称',
......
...@@ -39,7 +39,7 @@ public class SweetYbEnrollServiceImpl extends ServiceImpl<SweetYbEnrollMapper, S ...@@ -39,7 +39,7 @@ public class SweetYbEnrollServiceImpl extends ServiceImpl<SweetYbEnrollMapper, S
LinkedList<Object[]> sqlsDataA = CollectionUtil.linkedListObjectArr(); LinkedList<Object[]> sqlsDataA = CollectionUtil.linkedListObjectArr();
sqls.add(SqlMapping.get("sweet_yb_enroll.insert")); sqls.add(SqlMapping.get("sweet_yb_enroll.insert"));
sqlsDataA.add(new Object[]{ sqlsDataA.add(new Object[]{
IDGenerator.nextSnowId(), param.getMusicianId(), param.getContactTell(), IDGenerator.nextSnowId(), param.getContactTell(),
param.getContactWechat(), param.getNickname(), param.getStyle(), param.getContactWechat(), param.getNickname(), param.getStyle(),
param.getImgUrl(), param.getAudioUrl(), param.getUniversities(), param.getImgUrl(), param.getAudioUrl(), param.getUniversities(),
}); });
......
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