joinStatus
This commit is contained in:
@@ -37,4 +37,8 @@ public class LineAuditInfoDAO {
|
||||
return lineAuditInfoMapper.getLineAuditInfoList(auditIds);
|
||||
}
|
||||
|
||||
|
||||
public LineAuditInfoDO getAuditInfoByLineId(Long lineId){
|
||||
return lineAuditInfoMapper.getLineAuditInfo(lineId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,5 +16,12 @@ public interface LineAuditInfoMapper extends Mapper<LineAuditInfoDO> {
|
||||
*/
|
||||
List<LineAuditInfoDO> getLineAuditInfoList(@Param("ids") List<Long> ids);
|
||||
|
||||
/**
|
||||
* 结束跟进记录
|
||||
* @param lineId
|
||||
* @return
|
||||
*/
|
||||
LineAuditInfoDO getLineAuditInfo(@Param("lineId") Long lineId);
|
||||
|
||||
|
||||
}
|
||||
@@ -28,4 +28,10 @@
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="getLineAuditInfo" resultMap="BaseResultMap">
|
||||
select * from
|
||||
xfsg_line_audit_info
|
||||
where line_id = #{lineId} and result_type = 2 order by id desc limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user