caozj 2 éve
szülő
commit
0f64149f10

+ 0 - 20
hx-ehsd/src/main/resources/mapper/purchase/EhsdPurchaseArrivalMapper.xml

@@ -1,20 +0,0 @@
-<?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.fjhx.ehsd.mapper.purchase.EhsdPurchaseArrivalMapper">
-    <select id="getPage" resultType="com.fjhx.ehsd.entity.purchase.vo.EhsdPurchaseArrivalVo">
-        select
-            epa.id,
-            epa.purchase_id,
-            epa.product_id,
-            epa.arrival_time,
-            epa.quantity,
-            epa.remark,
-            epa.create_user,
-            epa.create_time,
-            epa.update_user,
-            epa.update_time
-        from ehsd_purchase_arrival epa
-            ${ew.customSqlSegment}
-    </select>
-
-</mapper>

+ 0 - 14
hx-ehsd/src/main/resources/mapper/purchase/EhsdPurchaseMapper.xml

@@ -1,14 +0,0 @@
-<?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.fjhx.ehsd.mapper.purchase.EhsdPurchaseMapper">
-    <select id="getPage" resultType="com.fjhx.ehsd.entity.purchase.vo.EhsdPurchaseVo">
-        SELECT
-            t1.*,
-            t2.`name` AS supplyName
-        FROM
-            ehsd_purchase t1
-                LEFT JOIN bytesailing_supply.supplier_info t2 ON t1.sell_corporation_id = t2.id
-            ${ew.customSqlSegment}
-    </select>
-
-</mapper>

+ 0 - 40
hx-ehsd/src/main/resources/mapper/purchase/EhsdPurchaseProductMapper.xml

@@ -1,40 +0,0 @@
-<?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.fjhx.ehsd.mapper.purchase.EhsdPurchaseProductMapper">
-    <select id="getPage" resultType="com.fjhx.ehsd.entity.purchase.vo.EhsdPurchaseProductVo">
-        select
-            epp.id,
-            epp.purchase_id,
-            epp.product_id,
-            epp.product_name,
-            epp.product_model,
-            epp.quantity,
-            epp.price,
-            epp.amount,
-            epp.remark,
-            epp.json,
-            epp.create_user,
-            epp.create_time,
-            epp.update_user,
-            epp.update_time
-        from ehsd_purchase_product epp
-            ${ew.customSqlSegment}
-    </select>
-
-    <select id="getGroupSumAmount" resultType="java.util.Map">
-        SELECT
-            SUM(amount) ,
-            data_resource_id
-        FROM
-            ehsd_purchase_product
-        WHERE
-        t2.`status` &gt;= 30
-        AND t2.`status` &lt; 88
-        <if test="contractIds neq null and contractIds.size() > 0">
-            <foreach collection="contractIds" item="contractId" open="AND data_resource_id IN (" separator="," close=")">
-                #{contractId}
-            </foreach>
-        </if>
-        GROUP BY data_resource_id
-    </select>
-</mapper>

+ 0 - 24
hx-ehsd/src/main/resources/mapper/purchase/EhsdPurchaseProductMountingsMapper.xml

@@ -1,24 +0,0 @@
-<?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.fjhx.ehsd.mapper.purchase.EhsdPurchaseProductMountingsMapper">
-    <select id="getPage" resultType="com.fjhx.ehsd.entity.purchase.vo.EhsdPurchaseProductMountingsVo">
-        select
-            eppm.id,
-            eppm.purchase_product_id,
-            eppm.product_id,
-            eppm.product_name,
-            eppm.product_model,
-            eppm.quantity,
-            eppm.price,
-            eppm.amount,
-            eppm.remark,
-            eppm.json,
-            eppm.create_user,
-            eppm.create_time,
-            eppm.update_user,
-            eppm.update_time
-        from ehsd_purchase_product_mountings eppm
-            ${ew.customSqlSegment}
-    </select>
-
-</mapper>

+ 0 - 19
hx-ehsd/src/main/resources/mapper/purchase/EhsdPurchaseProjectMapper.xml

@@ -1,19 +0,0 @@
-<?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.fjhx.ehsd.mapper.purchase.EhsdPurchaseProjectMapper">
-    <select id="getPage" resultType="com.fjhx.ehsd.entity.purchase.vo.EhsdPurchaseProjectVo">
-        select
-            epp.id,
-            epp.purchase_id,
-            epp.pay_name,
-            epp.amount,
-            epp.remark,
-            epp.create_user,
-            epp.create_time,
-            epp.update_user,
-            epp.update_time
-        from ehsd_purchase_project epp
-            ${ew.customSqlSegment}
-    </select>
-
-</mapper>