bug修复
This commit is contained in:
parent
273e0e9c5c
commit
b525b1eda5
@ -98,6 +98,8 @@ public class DataScopeHandler implements DataPermissionHandler {
|
|||||||
tables.put("worker_info_audit_record", "enterprise_id");
|
tables.put("worker_info_audit_record", "enterprise_id");
|
||||||
tables.put("car_info", "enterprise_id");
|
tables.put("car_info", "enterprise_id");
|
||||||
tables.put("xz_material", "enterprise_id");
|
tables.put("xz_material", "enterprise_id");
|
||||||
|
tables.put("inspect_task_record", "enterprise_id");
|
||||||
|
tables.put("xz_security_inspect_task_record", "enterprise_id");
|
||||||
return tables;
|
return tables;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -80,8 +80,12 @@ public class InspectTaskRecord implements Serializable {
|
|||||||
|
|
||||||
@ApiModelProperty(value = "检查人员userId")
|
@ApiModelProperty(value = "检查人员userId")
|
||||||
private java.lang.String inspectUser;
|
private java.lang.String inspectUser;
|
||||||
/**1:安全;2:质量*/
|
/**
|
||||||
|
* 1:安全;2:质量
|
||||||
|
*/
|
||||||
@Excel(name = "1:安全;2:质量", width = 15)
|
@Excel(name = "1:安全;2:质量", width = 15)
|
||||||
@ApiModelProperty(value = "1:安全;2:质量")
|
@ApiModelProperty(value = "1:安全;2:质量")
|
||||||
private java.lang.Integer type;
|
private java.lang.Integer type;
|
||||||
|
@ApiModelProperty(value = "合作单位id")
|
||||||
|
private java.lang.Long enterpriseId;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,6 +2,7 @@ package com.zhgd.xmgl.modules.inspection.mapper;
|
|||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.zhgd.annotation.DataScope;
|
||||||
import com.zhgd.jeecg.common.mybatis.EntityMap;
|
import com.zhgd.jeecg.common.mybatis.EntityMap;
|
||||||
import com.zhgd.xmgl.modules.inspection.entity.InspectTaskRecord;
|
import com.zhgd.xmgl.modules.inspection.entity.InspectTaskRecord;
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
@ -17,6 +18,7 @@ import java.util.Map;
|
|||||||
* @version: V1.0
|
* @version: V1.0
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
|
@DataScope
|
||||||
public interface InspectTaskRecordMapper extends BaseMapper<InspectTaskRecord> {
|
public interface InspectTaskRecordMapper extends BaseMapper<InspectTaskRecord> {
|
||||||
|
|
||||||
List<EntityMap> selectInspectTaskRecordPage(Page<EntityMap> page, @Param("param") Map<String, Object> map);
|
List<EntityMap> selectInspectTaskRecordPage(Page<EntityMap> page, @Param("param") Map<String, Object> map);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user