部门、用户转换
This commit is contained in:
@ -138,7 +138,7 @@ public class LngScore implements Serializable {
|
||||
@ApiModelProperty("lngScoreDtl子表")
|
||||
@TableField(exist = false)
|
||||
@EntityMapping(thisField = "id", joinField = "sId")
|
||||
@LogJoin(name = "客户联系人信息",
|
||||
@LogJoin(name = "客户评分项信息",
|
||||
columns = {
|
||||
@LogJoinColumn(field = "id",relatedField = "sId", valueDirection = ValueDirectionType.RIGHT)
|
||||
}, caseType = JoinCaseType.FULL, target = LngScoreDtl.class, type = JoinType.MANY)
|
||||
|
||||
@ -5,6 +5,7 @@ import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
@ -98,6 +99,7 @@ public class LngScoreDtl implements Serializable {
|
||||
* 分数
|
||||
*/
|
||||
@ApiModelProperty("分数")
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
private BigDecimal score;
|
||||
|
||||
/**
|
||||
|
||||
@ -18,13 +18,7 @@ import com.xjrsoft.module.supplier.vo.LngScoreVo;
|
||||
public interface IScoreSupplierService extends MPJBaseService<LngScore>, MPJDeepService<LngScore>, MPJRelationService<LngScore> {
|
||||
|
||||
|
||||
/**
|
||||
* 删除
|
||||
*
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
Boolean delete(List<Long> ids);
|
||||
|
||||
|
||||
LngScoreVo getInfoById(Long id);
|
||||
}
|
||||
|
||||
@ -45,14 +45,6 @@ public class SupplierScoreServiceImpl extends MPJBaseServiceImpl<LngSupplierScor
|
||||
private final IFileClient fileClient;
|
||||
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Boolean delete(List<Long> ids) {
|
||||
supplierScoreMapper.deleteBatchIds(ids);
|
||||
supplierScoreDtlMapper.delete(Wrappers.lambdaQuery(LngScoreDtl.class).in(LngScoreDtl::getSId, ids));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user