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

Commit 2b7d1d93 authored by 胡佳晨's avatar 胡佳晨

复制演出接口

parent 34c47409
......@@ -643,15 +643,11 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
public String copyPerformance(String performancesId) {
try {
String merchantId = CurrentUtil.getCurrentUid();
if (!mongoMerchantUtils.judgeIsPermission(performancesId, merchantId, new String[]{
MerchantAuthorizationConst.PerformancePermission.READ.getId(),
})) {
return "无权限";
}
PerformancePartnerVo performancePartnerVo = mongoMerchantUtils.getPerformancePartnerVo(performancesId);
//复制演出
performancePartnerVo.setPerformancesId(IDGenerator.nextSnowId());
performancePartnerVo.setStatus(0);
performancePartnerVo.setMerchantId(merchantId);
performancePartnerVo.setAuditStatus(-1);
performancePartnerVo.setIsCreateSave(1);
mongoMerchantUtils.insertPerformancePartnerVo(performancePartnerVo);
......
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