暂降治理一期工作内容+1
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.njcn.advance.mapper.govern.voltage;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.njcn.advance.pojo.po.govern.voltage.SgMachine;
|
||||
import com.njcn.advance.pojo.vo.govern.voltage.SgMachineVO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hongawen
|
||||
* @since 2024-03-14
|
||||
*/
|
||||
public interface SgMachineMapper extends BaseMapper<SgMachine> {
|
||||
|
||||
Page<SgMachineVO> page(@Param("page") Page<Object> objectPage, @Param("ew") QueryWrapper<SgMachineVO> queryWrapper);
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.njcn.advance.mapper.govern.voltage;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.njcn.advance.pojo.po.govern.voltage.SgProductLine;
|
||||
import com.njcn.advance.pojo.vo.govern.voltage.SgProductLineVO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hongawen
|
||||
* @since 2024-03-14
|
||||
*/
|
||||
public interface SgProductLineMapper extends BaseMapper<SgProductLine> {
|
||||
|
||||
Page<SgProductLineVO> page(@Param("page")Page<SgProductLineVO> objectPage, @Param("ew") QueryWrapper<SgProductLineVO> queryWrapper);
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.njcn.advance.mapper.govern.voltage;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.njcn.advance.pojo.po.govern.voltage.SgSensitiveUnit;
|
||||
import com.njcn.advance.pojo.vo.govern.voltage.SgSensitiveUnitVO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hongawen
|
||||
* @since 2024-03-14
|
||||
*/
|
||||
public interface SgSensitiveUnitMapper extends BaseMapper<SgSensitiveUnit> {
|
||||
|
||||
Page<SgSensitiveUnitVO> page(@Param("page") Page<Object> objectPage, @Param("ew")QueryWrapper<SgSensitiveUnitVO> queryWrapper);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?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.njcn.advance.mapper.govern.voltage.SgMachineMapper">
|
||||
|
||||
<!--获取设备分页列表-->
|
||||
<select id="page" resultType="SgMachineVO">
|
||||
SELECT sg_machine.*
|
||||
FROM sg_machine sg_machine
|
||||
WHERE ${ew.sqlSegment}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,21 @@
|
||||
<?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.njcn.advance.mapper.govern.voltage.SgProductLineMapper">
|
||||
|
||||
<!--获取生产线分页列表-->
|
||||
<select id="page" resultType="SgProductLineVO">
|
||||
SELECT
|
||||
sg_product_line.*,
|
||||
sg_user.user_name userName,
|
||||
sg_incoming_line.name incomingLineName
|
||||
FROM
|
||||
sg_product_line sg_product_line ,
|
||||
sg_user sg_user ,
|
||||
sg_incoming_line sg_incoming_line
|
||||
WHERE sg_product_line.user_id = sg_user.id
|
||||
AND sg_product_line.incoming_line_id = sg_incoming_line.id
|
||||
AND ${ew.sqlSegment}
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?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.njcn.advance.mapper.govern.voltage.SgSensitiveUnitMapper">
|
||||
<!--获取元器件分页列表-->
|
||||
<select id="page" resultType="SgSensitiveUnitVO">
|
||||
SELECT sg_sensitive_unit.*
|
||||
FROM sg_sensitive_unit sg_sensitive_unit
|
||||
WHERE ${ew.sqlSegment}
|
||||
</select>
|
||||
</mapper>
|
||||
@@ -3,7 +3,7 @@
|
||||
<mapper namespace="com.njcn.advance.mapper.govern.voltage.SgUserMapper">
|
||||
|
||||
|
||||
<!--获取字典分页列表-->
|
||||
<!--获取业务用户分页列表-->
|
||||
<select id="page" resultType="SgUserVO">
|
||||
SELECT sg_user.*
|
||||
FROM sg_user sg_user
|
||||
|
||||
Reference in New Issue
Block a user