parent
4e2174176f
commit
87fddda417
@ -0,0 +1,63 @@
|
||||
package com.ruoyi.flyingbook.domain;
|
||||
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】对象 lark_active
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-08-16
|
||||
*/
|
||||
@Data
|
||||
public class LarkActive extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 公司id
|
||||
*/
|
||||
private Long companyId;
|
||||
|
||||
/**
|
||||
* 公司名称
|
||||
*/
|
||||
private String companyName;
|
||||
|
||||
/**
|
||||
* 活动名称
|
||||
*/
|
||||
private String activeName;
|
||||
|
||||
/**
|
||||
* 活动描述
|
||||
*/
|
||||
private String activeDesc;
|
||||
|
||||
/**
|
||||
* 活动内容
|
||||
*/
|
||||
private String activeContent;
|
||||
|
||||
/**
|
||||
* 活动图片
|
||||
*/
|
||||
private String activeImageUrl;
|
||||
|
||||
/**
|
||||
* 活动类型
|
||||
*/
|
||||
private String activeType;
|
||||
|
||||
/**
|
||||
* 活动得分
|
||||
*/
|
||||
private String activeScore;
|
||||
|
||||
/**
|
||||
* @see com.ruoyi.common.enums.FlagStatus
|
||||
*/
|
||||
private Long flag;
|
||||
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
package com.ruoyi.flyingbook.domain;
|
||||
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】对象 lark_user_active_invite_relatoin
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-08-16
|
||||
*/
|
||||
@Data
|
||||
public class LarkUserActiveInviteRelatoin extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 公司id
|
||||
*/
|
||||
private Long companyId;
|
||||
|
||||
/**
|
||||
* 公司名称
|
||||
*/
|
||||
private String companyName;
|
||||
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 被邀请人名称
|
||||
*/
|
||||
private String inviteUserName;
|
||||
|
||||
/**
|
||||
* 邀请阶段
|
||||
*/
|
||||
private String inviteStage;
|
||||
|
||||
/**
|
||||
* @see com.ruoyi.common.enums.FlagStatus
|
||||
*/
|
||||
private Long flag;
|
||||
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
package com.ruoyi.flyingbook.domain;
|
||||
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】对象 lark_user_active_relatoin
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-08-16
|
||||
*/
|
||||
@Data
|
||||
public class LarkUserActiveRelatoin extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 公司id
|
||||
*/
|
||||
private Long companyId;
|
||||
|
||||
/**
|
||||
* 公司名称
|
||||
*/
|
||||
private String companyName;
|
||||
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 活动id
|
||||
*/
|
||||
private Long activeId;
|
||||
|
||||
/**
|
||||
* 活动阶段
|
||||
*/
|
||||
private String activeStage;
|
||||
|
||||
/**
|
||||
* @see com.ruoyi.common.enums.FlagStatus
|
||||
*/
|
||||
private Long flag;
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.flyingbook.mapper;
|
||||
|
||||
import com.ruoyi.flyingbook.domain.LarkActive;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-08-16
|
||||
*/
|
||||
public interface LarkActiveMapper {
|
||||
/**
|
||||
* 查询【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
public LarkActive selectLarkActiveById(Long id);
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
*
|
||||
* @param larkActive 【请填写功能名称】
|
||||
* @return 【请填写功能名称】集合
|
||||
*/
|
||||
public List<LarkActive> selectLarkActiveList(LarkActive larkActive);
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
*
|
||||
* @param larkActive 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertLarkActive(LarkActive larkActive);
|
||||
|
||||
/**
|
||||
* 修改【请填写功能名称】
|
||||
*
|
||||
* @param larkActive 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateLarkActive(LarkActive larkActive);
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteLarkActiveById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除【请填写功能名称】
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteLarkActiveByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.flyingbook.mapper;
|
||||
|
||||
import com.ruoyi.flyingbook.domain.LarkUserActiveInviteRelatoin;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-08-16
|
||||
*/
|
||||
public interface LarkUserActiveInviteRelatoinMapper {
|
||||
/**
|
||||
* 查询【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
public LarkUserActiveInviteRelatoin selectLarkUserActiveInviteRelatoinById(Long id);
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
*
|
||||
* @param larkUserActiveInviteRelatoin 【请填写功能名称】
|
||||
* @return 【请填写功能名称】集合
|
||||
*/
|
||||
public List<LarkUserActiveInviteRelatoin> selectLarkUserActiveInviteRelatoinList(LarkUserActiveInviteRelatoin larkUserActiveInviteRelatoin);
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
*
|
||||
* @param larkUserActiveInviteRelatoin 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertLarkUserActiveInviteRelatoin(LarkUserActiveInviteRelatoin larkUserActiveInviteRelatoin);
|
||||
|
||||
/**
|
||||
* 修改【请填写功能名称】
|
||||
*
|
||||
* @param larkUserActiveInviteRelatoin 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateLarkUserActiveInviteRelatoin(LarkUserActiveInviteRelatoin larkUserActiveInviteRelatoin);
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteLarkUserActiveInviteRelatoinById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除【请填写功能名称】
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteLarkUserActiveInviteRelatoinByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.flyingbook.mapper;
|
||||
|
||||
import com.ruoyi.flyingbook.domain.LarkUserActiveRelatoin;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-08-16
|
||||
*/
|
||||
public interface LarkUserActiveRelatoinMapper {
|
||||
/**
|
||||
* 查询【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
public LarkUserActiveRelatoin selectLarkUserActiveRelatoinById(Long id);
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
*
|
||||
* @param larkUserActiveRelatoin 【请填写功能名称】
|
||||
* @return 【请填写功能名称】集合
|
||||
*/
|
||||
public List<LarkUserActiveRelatoin> selectLarkUserActiveRelatoinList(LarkUserActiveRelatoin larkUserActiveRelatoin);
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
*
|
||||
* @param larkUserActiveRelatoin 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertLarkUserActiveRelatoin(LarkUserActiveRelatoin larkUserActiveRelatoin);
|
||||
|
||||
/**
|
||||
* 修改【请填写功能名称】
|
||||
*
|
||||
* @param larkUserActiveRelatoin 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateLarkUserActiveRelatoin(LarkUserActiveRelatoin larkUserActiveRelatoin);
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteLarkUserActiveRelatoinById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除【请填写功能名称】
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteLarkUserActiveRelatoinByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package com.ruoyi.flyingbook.service;
|
||||
|
||||
|
||||
import com.ruoyi.flyingbook.domain.LarkActive;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-08-16
|
||||
*/
|
||||
public interface ILarkActiveService {
|
||||
/**
|
||||
* 查询【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
public LarkActive selectLarkActiveById(Long id);
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
*
|
||||
* @param larkActive 【请填写功能名称】
|
||||
* @return 【请填写功能名称】集合
|
||||
*/
|
||||
public List<LarkActive> selectLarkActiveList(LarkActive larkActive);
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
*
|
||||
* @param larkActive 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertLarkActive(LarkActive larkActive);
|
||||
|
||||
/**
|
||||
* 修改【请填写功能名称】
|
||||
*
|
||||
* @param larkActive 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateLarkActive(LarkActive larkActive);
|
||||
|
||||
/**
|
||||
* 批量删除【请填写功能名称】
|
||||
*
|
||||
* @param ids 需要删除的【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteLarkActiveByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】信息
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteLarkActiveById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.flyingbook.service;
|
||||
|
||||
import com.ruoyi.flyingbook.domain.LarkUserActiveInviteRelatoin;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-08-16
|
||||
*/
|
||||
public interface ILarkUserActiveInviteRelatoinService {
|
||||
/**
|
||||
* 查询【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
public LarkUserActiveInviteRelatoin selectLarkUserActiveInviteRelatoinById(Long id);
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
*
|
||||
* @param larkUserActiveInviteRelatoin 【请填写功能名称】
|
||||
* @return 【请填写功能名称】集合
|
||||
*/
|
||||
public List<LarkUserActiveInviteRelatoin> selectLarkUserActiveInviteRelatoinList(LarkUserActiveInviteRelatoin larkUserActiveInviteRelatoin);
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
*
|
||||
* @param larkUserActiveInviteRelatoin 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertLarkUserActiveInviteRelatoin(LarkUserActiveInviteRelatoin larkUserActiveInviteRelatoin);
|
||||
|
||||
/**
|
||||
* 修改【请填写功能名称】
|
||||
*
|
||||
* @param larkUserActiveInviteRelatoin 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateLarkUserActiveInviteRelatoin(LarkUserActiveInviteRelatoin larkUserActiveInviteRelatoin);
|
||||
|
||||
/**
|
||||
* 批量删除【请填写功能名称】
|
||||
*
|
||||
* @param ids 需要删除的【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteLarkUserActiveInviteRelatoinByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】信息
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteLarkUserActiveInviteRelatoinById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.flyingbook.service;
|
||||
|
||||
import com.ruoyi.flyingbook.domain.LarkUserActiveRelatoin;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-08-16
|
||||
*/
|
||||
public interface ILarkUserActiveRelatoinService {
|
||||
/**
|
||||
* 查询【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
public LarkUserActiveRelatoin selectLarkUserActiveRelatoinById(Long id);
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
*
|
||||
* @param larkUserActiveRelatoin 【请填写功能名称】
|
||||
* @return 【请填写功能名称】集合
|
||||
*/
|
||||
public List<LarkUserActiveRelatoin> selectLarkUserActiveRelatoinList(LarkUserActiveRelatoin larkUserActiveRelatoin);
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
*
|
||||
* @param larkUserActiveRelatoin 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertLarkUserActiveRelatoin(LarkUserActiveRelatoin larkUserActiveRelatoin);
|
||||
|
||||
/**
|
||||
* 修改【请填写功能名称】
|
||||
*
|
||||
* @param larkUserActiveRelatoin 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateLarkUserActiveRelatoin(LarkUserActiveRelatoin larkUserActiveRelatoin);
|
||||
|
||||
/**
|
||||
* 批量删除【请填写功能名称】
|
||||
*
|
||||
* @param ids 需要删除的【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteLarkUserActiveRelatoinByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】信息
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteLarkUserActiveRelatoinById(Long id);
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
package com.ruoyi.flyingbook.service.impl;
|
||||
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import com.ruoyi.flyingbook.domain.LarkActive;
|
||||
import com.ruoyi.flyingbook.mapper.LarkActiveMapper;
|
||||
import com.ruoyi.flyingbook.service.ILarkActiveService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-08-16
|
||||
*/
|
||||
@Service
|
||||
public class LarkActiveServiceImpl implements ILarkActiveService {
|
||||
@Autowired
|
||||
private LarkActiveMapper larkActiveMapper;
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
@Override
|
||||
public LarkActive selectLarkActiveById(Long id) {
|
||||
return larkActiveMapper.selectLarkActiveById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
*
|
||||
* @param larkActive 【请填写功能名称】
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
@Override
|
||||
public List<LarkActive> selectLarkActiveList(LarkActive larkActive) {
|
||||
return larkActiveMapper.selectLarkActiveList(larkActive);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
*
|
||||
* @param larkActive 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertLarkActive(LarkActive larkActive) {
|
||||
larkActive.setCreateTime(DateUtils.getNowDate());
|
||||
return larkActiveMapper.insertLarkActive(larkActive);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改【请填写功能名称】
|
||||
*
|
||||
* @param larkActive 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateLarkActive(LarkActive larkActive) {
|
||||
larkActive.setUpdateTime(DateUtils.getNowDate());
|
||||
return larkActiveMapper.updateLarkActive(larkActive);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除【请填写功能名称】
|
||||
*
|
||||
* @param ids 需要删除的【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteLarkActiveByIds(Long[] ids) {
|
||||
return larkActiveMapper.deleteLarkActiveByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】信息
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteLarkActiveById(Long id) {
|
||||
return larkActiveMapper.deleteLarkActiveById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
package com.ruoyi.flyingbook.service.impl;
|
||||
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import com.ruoyi.flyingbook.domain.LarkUserActiveInviteRelatoin;
|
||||
import com.ruoyi.flyingbook.mapper.LarkUserActiveInviteRelatoinMapper;
|
||||
import com.ruoyi.flyingbook.service.ILarkUserActiveInviteRelatoinService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-08-16
|
||||
*/
|
||||
@Service
|
||||
public class LarkUserActiveInviteRelatoinServiceImpl implements ILarkUserActiveInviteRelatoinService {
|
||||
@Autowired
|
||||
private LarkUserActiveInviteRelatoinMapper larkUserActiveInviteRelatoinMapper;
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
@Override
|
||||
public LarkUserActiveInviteRelatoin selectLarkUserActiveInviteRelatoinById(Long id) {
|
||||
return larkUserActiveInviteRelatoinMapper.selectLarkUserActiveInviteRelatoinById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
*
|
||||
* @param larkUserActiveInviteRelatoin 【请填写功能名称】
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
@Override
|
||||
public List<LarkUserActiveInviteRelatoin> selectLarkUserActiveInviteRelatoinList(LarkUserActiveInviteRelatoin larkUserActiveInviteRelatoin) {
|
||||
return larkUserActiveInviteRelatoinMapper.selectLarkUserActiveInviteRelatoinList(larkUserActiveInviteRelatoin);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
*
|
||||
* @param larkUserActiveInviteRelatoin 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertLarkUserActiveInviteRelatoin(LarkUserActiveInviteRelatoin larkUserActiveInviteRelatoin) {
|
||||
larkUserActiveInviteRelatoin.setCreateTime(DateUtils.getNowDate());
|
||||
return larkUserActiveInviteRelatoinMapper.insertLarkUserActiveInviteRelatoin(larkUserActiveInviteRelatoin);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改【请填写功能名称】
|
||||
*
|
||||
* @param larkUserActiveInviteRelatoin 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateLarkUserActiveInviteRelatoin(LarkUserActiveInviteRelatoin larkUserActiveInviteRelatoin) {
|
||||
larkUserActiveInviteRelatoin.setUpdateTime(DateUtils.getNowDate());
|
||||
return larkUserActiveInviteRelatoinMapper.updateLarkUserActiveInviteRelatoin(larkUserActiveInviteRelatoin);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除【请填写功能名称】
|
||||
*
|
||||
* @param ids 需要删除的【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteLarkUserActiveInviteRelatoinByIds(Long[] ids) {
|
||||
return larkUserActiveInviteRelatoinMapper.deleteLarkUserActiveInviteRelatoinByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】信息
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteLarkUserActiveInviteRelatoinById(Long id) {
|
||||
return larkUserActiveInviteRelatoinMapper.deleteLarkUserActiveInviteRelatoinById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
package com.ruoyi.flyingbook.service.impl;
|
||||
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import com.ruoyi.flyingbook.domain.LarkUserActiveRelatoin;
|
||||
import com.ruoyi.flyingbook.mapper.LarkUserActiveRelatoinMapper;
|
||||
import com.ruoyi.flyingbook.service.ILarkUserActiveRelatoinService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-08-16
|
||||
*/
|
||||
@Service
|
||||
public class LarkUserActiveRelatoinServiceImpl implements ILarkUserActiveRelatoinService {
|
||||
@Autowired
|
||||
private LarkUserActiveRelatoinMapper larkUserActiveRelatoinMapper;
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
@Override
|
||||
public LarkUserActiveRelatoin selectLarkUserActiveRelatoinById(Long id) {
|
||||
return larkUserActiveRelatoinMapper.selectLarkUserActiveRelatoinById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
*
|
||||
* @param larkUserActiveRelatoin 【请填写功能名称】
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
@Override
|
||||
public List<LarkUserActiveRelatoin> selectLarkUserActiveRelatoinList(LarkUserActiveRelatoin larkUserActiveRelatoin) {
|
||||
return larkUserActiveRelatoinMapper.selectLarkUserActiveRelatoinList(larkUserActiveRelatoin);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
*
|
||||
* @param larkUserActiveRelatoin 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertLarkUserActiveRelatoin(LarkUserActiveRelatoin larkUserActiveRelatoin) {
|
||||
larkUserActiveRelatoin.setCreateTime(DateUtils.getNowDate());
|
||||
return larkUserActiveRelatoinMapper.insertLarkUserActiveRelatoin(larkUserActiveRelatoin);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改【请填写功能名称】
|
||||
*
|
||||
* @param larkUserActiveRelatoin 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateLarkUserActiveRelatoin(LarkUserActiveRelatoin larkUserActiveRelatoin) {
|
||||
larkUserActiveRelatoin.setUpdateTime(DateUtils.getNowDate());
|
||||
return larkUserActiveRelatoinMapper.updateLarkUserActiveRelatoin(larkUserActiveRelatoin);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除【请填写功能名称】
|
||||
*
|
||||
* @param ids 需要删除的【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteLarkUserActiveRelatoinByIds(Long[] ids) {
|
||||
return larkUserActiveRelatoinMapper.deleteLarkUserActiveRelatoinByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】信息
|
||||
*
|
||||
* @param id 【请填写功能名称】ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteLarkUserActiveRelatoinById(Long id) {
|
||||
return larkUserActiveRelatoinMapper.deleteLarkUserActiveRelatoinById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,116 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.flyingbook.mapper.LarkActiveMapper">
|
||||
|
||||
<resultMap type="com.ruoyi.flyingbook.domain.LarkActive" id="LarkActiveResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="companyId" column="company_id" />
|
||||
<result property="companyName" column="company_name" />
|
||||
<result property="activeName" column="active_name" />
|
||||
<result property="activeDesc" column="active_desc" />
|
||||
<result property="activeContent" column="active_content" />
|
||||
<result property="activeImageUrl" column="active_image_url" />
|
||||
<result property="activeType" column="active_type" />
|
||||
<result property="activeScore" column="active_score" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="flag" column="flag" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectLarkActiveVo">
|
||||
select id, company_id, company_name, active_name, active_desc, active_content, active_image_url, active_type, active_score, create_by, create_time, update_by, update_time, flag, remark from lark_active
|
||||
</sql>
|
||||
|
||||
<select id="selectLarkActiveList" parameterType="com.ruoyi.flyingbook.domain.LarkActive" resultMap="LarkActiveResult">
|
||||
<include refid="selectLarkActiveVo"/>
|
||||
<where>
|
||||
<if test="companyId != null "> and company_id = #{companyId}</if>
|
||||
<if test="companyName != null and companyName != ''"> and company_name like concat('%', #{companyName}, '%')</if>
|
||||
<if test="activeName != null and activeName != ''"> and active_name like concat('%', #{activeName}, '%')</if>
|
||||
<if test="activeDesc != null and activeDesc != ''"> and active_desc = #{activeDesc}</if>
|
||||
<if test="activeContent != null and activeContent != ''"> and active_content = #{activeContent}</if>
|
||||
<if test="activeImageUrl != null and activeImageUrl != ''"> and active_image_url = #{activeImageUrl}</if>
|
||||
<if test="activeType != null and activeType != ''"> and active_type = #{activeType}</if>
|
||||
<if test="activeScore != null and activeScore != ''"> and active_score = #{activeScore}</if>
|
||||
<if test="flag != null "> and flag = #{flag}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectLarkActiveById" parameterType="Long" resultMap="LarkActiveResult">
|
||||
<include refid="selectLarkActiveVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertLarkActive" parameterType="com.ruoyi.flyingbook.domain.LarkActive" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into lark_active
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="companyId != null">company_id,</if>
|
||||
<if test="companyName != null">company_name,</if>
|
||||
<if test="activeName != null">active_name,</if>
|
||||
<if test="activeDesc != null">active_desc,</if>
|
||||
<if test="activeContent != null">active_content,</if>
|
||||
<if test="activeImageUrl != null">active_image_url,</if>
|
||||
<if test="activeType != null">active_type,</if>
|
||||
<if test="activeScore != null">active_score,</if>
|
||||
<if test="createBy != null and createBy != ''">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="flag != null">flag,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="companyId != null">#{companyId},</if>
|
||||
<if test="companyName != null">#{companyName},</if>
|
||||
<if test="activeName != null">#{activeName},</if>
|
||||
<if test="activeDesc != null">#{activeDesc},</if>
|
||||
<if test="activeContent != null">#{activeContent},</if>
|
||||
<if test="activeImageUrl != null">#{activeImageUrl},</if>
|
||||
<if test="activeType != null">#{activeType},</if>
|
||||
<if test="activeScore != null">#{activeScore},</if>
|
||||
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="flag != null">#{flag},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateLarkActive" parameterType="com.ruoyi.flyingbook.domain.LarkActive">
|
||||
update lark_active
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="companyId != null">company_id = #{companyId},</if>
|
||||
<if test="companyName != null">company_name = #{companyName},</if>
|
||||
<if test="activeName != null">active_name = #{activeName},</if>
|
||||
<if test="activeDesc != null">active_desc = #{activeDesc},</if>
|
||||
<if test="activeContent != null">active_content = #{activeContent},</if>
|
||||
<if test="activeImageUrl != null">active_image_url = #{activeImageUrl},</if>
|
||||
<if test="activeType != null">active_type = #{activeType},</if>
|
||||
<if test="activeScore != null">active_score = #{activeScore},</if>
|
||||
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="flag != null">flag = #{flag},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteLarkActiveById" parameterType="Long">
|
||||
delete from lark_active where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteLarkActiveByIds" parameterType="String">
|
||||
delete from lark_active where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.flyingbook.mapper.LarkUserActiveInviteRelatoinMapper">
|
||||
|
||||
<resultMap type="com.ruoyi.flyingbook.domain.LarkUserActiveInviteRelatoin" id="LarkUserActiveInviteRelatoinResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="companyId" column="company_id" />
|
||||
<result property="companyName" column="company_name" />
|
||||
<result property="userName" column="user_name" />
|
||||
<result property="inviteUserName" column="invite_user_name" />
|
||||
<result property="inviteStage" column="invite_stage" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="flag" column="flag" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectLarkUserActiveInviteRelatoinVo">
|
||||
select id, company_id, company_name, user_name, invite_user_name, invite_stage, create_by, create_time, update_by, update_time, flag, remark from lark_user_active_invite_relatoin
|
||||
</sql>
|
||||
|
||||
<select id="selectLarkUserActiveInviteRelatoinList" parameterType="com.ruoyi.flyingbook.domain.LarkUserActiveInviteRelatoin" resultMap="LarkUserActiveInviteRelatoinResult">
|
||||
<include refid="selectLarkUserActiveInviteRelatoinVo"/>
|
||||
<where>
|
||||
<if test="companyId != null "> and company_id = #{companyId}</if>
|
||||
<if test="companyName != null and companyName != ''"> and company_name like concat('%', #{companyName}, '%')</if>
|
||||
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
|
||||
<if test="inviteUserName != null and inviteUserName != ''"> and invite_user_name like concat('%', #{inviteUserName}, '%')</if>
|
||||
<if test="inviteStage != null and inviteStage != ''"> and invite_stage = #{inviteStage}</if>
|
||||
<if test="flag != null "> and flag = #{flag}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectLarkUserActiveInviteRelatoinById" parameterType="Long" resultMap="LarkUserActiveInviteRelatoinResult">
|
||||
<include refid="selectLarkUserActiveInviteRelatoinVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertLarkUserActiveInviteRelatoin" parameterType="com.ruoyi.flyingbook.domain.LarkUserActiveInviteRelatoin" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into lark_user_active_invite_relatoin
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="companyId != null">company_id,</if>
|
||||
<if test="companyName != null">company_name,</if>
|
||||
<if test="userName != null">user_name,</if>
|
||||
<if test="inviteUserName != null">invite_user_name,</if>
|
||||
<if test="inviteStage != null">invite_stage,</if>
|
||||
<if test="createBy != null and createBy != ''">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="flag != null">flag,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="companyId != null">#{companyId},</if>
|
||||
<if test="companyName != null">#{companyName},</if>
|
||||
<if test="userName != null">#{userName},</if>
|
||||
<if test="inviteUserName != null">#{inviteUserName},</if>
|
||||
<if test="inviteStage != null">#{inviteStage},</if>
|
||||
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="flag != null">#{flag},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateLarkUserActiveInviteRelatoin" parameterType="com.ruoyi.flyingbook.domain.LarkUserActiveInviteRelatoin">
|
||||
update lark_user_active_invite_relatoin
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="companyId != null">company_id = #{companyId},</if>
|
||||
<if test="companyName != null">company_name = #{companyName},</if>
|
||||
<if test="userName != null">user_name = #{userName},</if>
|
||||
<if test="inviteUserName != null">invite_user_name = #{inviteUserName},</if>
|
||||
<if test="inviteStage != null">invite_stage = #{inviteStage},</if>
|
||||
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="flag != null">flag = #{flag},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteLarkUserActiveInviteRelatoinById" parameterType="Long">
|
||||
delete from lark_user_active_invite_relatoin where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteLarkUserActiveInviteRelatoinByIds" parameterType="String">
|
||||
delete from lark_user_active_invite_relatoin where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.flyingbook.mapper.LarkUserActiveRelatoinMapper">
|
||||
|
||||
<resultMap type="com.ruoyi.flyingbook.domain.LarkUserActiveRelatoin" id="LarkUserActiveRelatoinResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="companyId" column="company_id" />
|
||||
<result property="companyName" column="company_name" />
|
||||
<result property="userName" column="user_name" />
|
||||
<result property="activeId" column="active_id" />
|
||||
<result property="activeStage" column="active_stage" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="flag" column="flag" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectLarkUserActiveRelatoinVo">
|
||||
select id, company_id, company_name, user_name, active_id, active_stage, create_by, create_time, update_by, update_time, flag, remark from lark_user_active_relatoin
|
||||
</sql>
|
||||
|
||||
<select id="selectLarkUserActiveRelatoinList" parameterType="com.ruoyi.flyingbook.domain.LarkUserActiveRelatoin" resultMap="LarkUserActiveRelatoinResult">
|
||||
<include refid="selectLarkUserActiveRelatoinVo"/>
|
||||
<where>
|
||||
<if test="companyId != null "> and company_id = #{companyId}</if>
|
||||
<if test="companyName != null and companyName != ''"> and company_name like concat('%', #{companyName}, '%')</if>
|
||||
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
|
||||
<if test="activeId != null "> and active_id = #{activeId}</if>
|
||||
<if test="activeStage != null and activeStage != ''"> and active_stage = #{activeStage}</if>
|
||||
<if test="flag != null "> and flag = #{flag}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectLarkUserActiveRelatoinById" parameterType="Long" resultMap="LarkUserActiveRelatoinResult">
|
||||
<include refid="selectLarkUserActiveRelatoinVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertLarkUserActiveRelatoin" parameterType="com.ruoyi.flyingbook.domain.LarkUserActiveRelatoin" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into lark_user_active_relatoin
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="companyId != null">company_id,</if>
|
||||
<if test="companyName != null">company_name,</if>
|
||||
<if test="userName != null">user_name,</if>
|
||||
<if test="activeId != null">active_id,</if>
|
||||
<if test="activeStage != null">active_stage,</if>
|
||||
<if test="createBy != null and createBy != ''">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="flag != null">flag,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="companyId != null">#{companyId},</if>
|
||||
<if test="companyName != null">#{companyName},</if>
|
||||
<if test="userName != null">#{userName},</if>
|
||||
<if test="activeId != null">#{activeId},</if>
|
||||
<if test="activeStage != null">#{activeStage},</if>
|
||||
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="flag != null">#{flag},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateLarkUserActiveRelatoin" parameterType="com.ruoyi.flyingbook.domain.LarkUserActiveRelatoin">
|
||||
update lark_user_active_relatoin
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="companyId != null">company_id = #{companyId},</if>
|
||||
<if test="companyName != null">company_name = #{companyName},</if>
|
||||
<if test="userName != null">user_name = #{userName},</if>
|
||||
<if test="activeId != null">active_id = #{activeId},</if>
|
||||
<if test="activeStage != null">active_stage = #{activeStage},</if>
|
||||
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="flag != null">flag = #{flag},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteLarkUserActiveRelatoinById" parameterType="Long">
|
||||
delete from lark_user_active_relatoin where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteLarkUserActiveRelatoinByIds" parameterType="String">
|
||||
delete from lark_user_active_relatoin where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
Loading…
Reference in new issue