|
@@ -26,6 +26,7 @@ import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
import java.util.Locale;
|
|
|
|
|
|
+import static com.ruoyi.common.constant.CommonConstants.FIV;
|
|
|
import static com.ruoyi.common.constant.CommonConstants.THR;
|
|
|
|
|
|
/**
|
|
@@ -310,14 +311,14 @@ public class ZxActivityServiceImpl implements IZxActivityService {
|
|
|
*/
|
|
|
public void insertZxFj(ZxActivity zxActivity)
|
|
|
{
|
|
|
- List<ZxFj> zxFjListFj = zxActivity.getZxFjListFj();
|
|
|
+ List<ZxFj> zxFjListFj = zxActivity.getZxFjList();
|
|
|
Long activityId = zxActivity.getActivityId();
|
|
|
if (StringUtils.isNotNull(zxFjListFj))
|
|
|
{
|
|
|
List<ZxFj> list = new ArrayList<ZxFj>();
|
|
|
for (ZxFj zxFj : zxFjListFj)
|
|
|
{
|
|
|
- zxFj.setType(THR);
|
|
|
+ zxFj.setType(FIV);
|
|
|
zxFj.setMainId(activityId);
|
|
|
zxFj.setSourceId(activityId);
|
|
|
list.add(zxFj);
|