|
|
@@ -82,15 +82,17 @@
|
|
82
|
82
|
select
|
|
83
|
83
|
id, ch, hwh, lspz, lsxz, kcsl, scnf, zhycrq, cbnx, cccxrq, bjrq, bjlx, clzt, clr,
|
|
84
|
84
|
clsj, org_id, scsj, updatetime, remark, clyj
|
|
85
|
|
- from storage_rotation_warning
|
|
|
85
|
+ from depot_qh.storage_rotation_warning
|
|
86
|
86
|
where id = #{id,jdbcType=VARCHAR}
|
|
87
|
87
|
</select>
|
|
88
|
88
|
|
|
89
|
89
|
<select id="selectCjkqList" resultType="com.unis.purchaseAndSalesSupervision.modular.yjbj.entity.StorageJkqWarning" parameterType="map">
|
|
90
|
90
|
select
|
|
91
|
|
- id, org_id, ch, hwh, jhwh, lhnd, jkqzt, jkqjzr, jzrqylrsl, jzrqsylrsl, yjrq, clzt,
|
|
92
|
|
- clr, clsj, scsj, updatetime, clyj
|
|
93
|
|
- from storage_jkq_warning
|
|
|
91
|
+ srw.id, srw.org_id, srw.ch, srw.hwh, srw.jhwh, srw.lhnd, srw.jkqzt, srw.jkqjzr, srw.jzrqylrsl, srw.jzrqsylrsl, srw.yjrq, srw.clzt,
|
|
|
92
|
+ srw.clr, srw.clsj, srw.scsj, srw.updatetime, srw.clyj,bs.storehouse_name storehouseName,bw.warehouse_name warehouseName
|
|
|
93
|
+ from depot_qh.storage_jkq_warning srw
|
|
|
94
|
+ left join depot_qh.basic_storehouse bs on bs.storehouse_id=srw.ch
|
|
|
95
|
+ left join depot_qh.basic_warehouse bw on bw.warehouse_id=srw.hwh
|
|
94
|
96
|
where 1=1
|
|
95
|
97
|
<if test="record.orgId != null">
|
|
96
|
98
|
and org_id = #{record.orgId, jdbcType=INTEGER}
|
|
|
@@ -108,11 +110,11 @@
|
|
108
|
110
|
select
|
|
109
|
111
|
id, org_id, ch, hwh, jhwh, lhnd, jkqzt, jkqjzr, jzrqylrsl, jzrqsylrsl, yjrq, clzt,
|
|
110
|
112
|
clr, clsj, scsj, updatetime, clyj
|
|
111
|
|
- from storage_jkq_warning
|
|
|
113
|
+ from depot_qh.storage_jkq_warning
|
|
112
|
114
|
where id = #{id,jdbcType=VARCHAR}
|
|
113
|
115
|
</select>
|
|
114
|
116
|
|
|
115
|
|
- <select id="getXwcjfxList" parameterType="com.unis.purchaseAndSalesSupervision.modular.yjbj.param.XwcjfxPageParam" resultType="java.util.Map">
|
|
|
117
|
+ <select id="getXwcjfxList" parameterType="com.unis.purchaseAndSalesSupervision.modular.yjbj.param.XwcjfxPageParam" resultType="java.util.List">
|
|
116
|
118
|
select * from (
|
|
117
|
119
|
SELECT
|
|
118
|
120
|
a.cph,
|
|
|
@@ -175,7 +177,7 @@
|
|
175
|
177
|
ORDER BY rcsj
|
|
176
|
178
|
</select>
|
|
177
|
179
|
|
|
178
|
|
- <select id="getCkjhzxjgList" parameterType="com.unis.purchaseAndSalesSupervision.modular.yjbj.param.XwcjfxPageParam" resultType="java.util.Map">
|
|
|
180
|
+ <select id="getCkjhzxjgList" parameterType="com.unis.purchaseAndSalesSupervision.modular.yjbj.param.XwcjfxPageParam" resultType="java.util.List">
|
|
179
|
181
|
SELECT
|
|
180
|
182
|
-- a.id,
|
|
181
|
183
|
a.org_id,
|