项目初始化

This commit is contained in:
liuhanqing
2025-12-03 16:09:29 +08:00
commit 68c9100aab
1649 changed files with 303228 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
<?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.ruoyi.index.mapper.BillStatusCountMapper">
<resultMap type="com.ruoyi.index.domain.BillStatusCount" id="BillStatusCountResult">
<result property="id" column="id"/>
<result property="status" column="status"/>
<result property="type" column="type"/>
</resultMap>
<select id="selectStockinStatusCount" resultMap="BillStatusCountResult">
select stockin_id as id, status, '1' as type
from in_stockin
where status in ('1', '2', '3')
${params.warehouseDataScope}
</select>
<select id="selectStockoutStatusCount" resultMap="BillStatusCountResult">
select stockout_id as id, status, '2' as type
from out_stockout
where status in ('1', '2', '3')
${params.warehouseDataScope}
</select>
<select id="selectStockcheckStatusCount" resultMap="BillStatusCountResult">
select stock_check_id as id, status, '3' as type
from check_stockin
where status in ('1', '2', '3')
${params.warehouseDataScope}
</select>
</mapper>