|
@@ -132,7 +132,7 @@ public class KuaishouLiveBroadcastServiceImpl implements IKuaishouLiveBroadcastS
|
|
|
KuaishouLiveBroadcast checkOne = kuaishouLiveBroadcastMapper.getOne(broadcast);
|
|
|
if (checkOne == null) {
|
|
|
KuaishouLiveBroadcast copy = new KuaishouLiveBroadcast();
|
|
|
- BeanUtils.copyProperties(copy, broadcast);
|
|
|
+ BeanUtils.copyProperties(broadcast,copy);
|
|
|
copy.setId(null);
|
|
|
if (kuaishouLiveBroadcastMapper.getOne(copy) != null) {
|
|
|
return ResultResponse.error("当前时间段已存在直播!");
|