@ -29,6 +29,9 @@ public class IndicatorsEntity extends TenantEntity {
@ApiModelProperty(value = "考核指标")
private Long classifyId;
@ApiModelProperty(value = "考核指标名称")
private Long classifyName;
@ApiModelProperty(value = "分数")
private int point;
@ -17,5 +17,5 @@ public interface IndicatorsAnnexMapper extends BaseMapper<IndicatorsAnnexEntity>
* 删除考核所关联的附件资源
* @param id
*/
void deleteResourceByInstanceoId(@Param("") Long id);
void deleteResourceByInstanceoId(@Param("indicatorsId") Long indicatorsId);
}
@ -8,7 +8,7 @@
<select id="findListByIndicatorsIdAndType" resultType="com.logpm.supervise.entity.IndicatorsAnnexEntity">
select *
from sup_indicators_annex
where indicators_id = #{id}
where indicators_id = #{indicatorsId}
and `type` = #{type}
</select>