kangwei:安环处置点表结构与相关代码
正在显示
2 个修改的文件
包含
1 行增加
和
2 行删除
... | @@ -238,7 +238,6 @@ public class PurchaseContractController { | ... | @@ -238,7 +238,6 @@ public class PurchaseContractController { |
238 | result.setResult(purchaseContract); | 238 | result.setResult(purchaseContract); |
239 | result.setSuccess(true); | 239 | result.setSuccess(true); |
240 | } | 240 | } |
241 | |||
242 | } | 241 | } |
243 | return result; | 242 | return result; |
244 | } | 243 | } | ... | ... |
... | @@ -60,7 +60,7 @@ | ... | @@ -60,7 +60,7 @@ |
60 | from ( | 60 | from ( |
61 | select dc.contract_code 'distribut_contract_code', dc.id 'distribut_contract_id', dm.distribut_price ,dm.distribut_total_price,dm.material_num ,pm.* | 61 | select dc.contract_code 'distribut_contract_code', dc.id 'distribut_contract_id', dm.distribut_price ,dm.distribut_total_price,dm.material_num ,pm.* |
62 | from erp_distribut_contract dc , erp_distribut_material dm , erp_purchase_material pm | 62 | from erp_distribut_contract dc , erp_distribut_material dm , erp_purchase_material pm |
63 | where dc.id = dm.contract_id and dc.id = #{param.distributContractId } and dm.good_code = pm.good_code and pm.del_flag = '0' and dc.use_flag = '0' and dm.del_flag = '0' and dc.start_time > now() and dc.end_time < now() | 63 | where dc.id = dm.contract_id and dc.id = #{param.distributContractId } and dm.good_code = pm.good_code and pm.del_flag = '0' and dc.use_flag = '0' and dm.del_flag = '0' |
64 | <if test="param.sparepartCode != null and param.sparepartCode !=''">and pm.sparepart_code =#{param.sparepartCode}</if> | 64 | <if test="param.sparepartCode != null and param.sparepartCode !=''">and pm.sparepart_code =#{param.sparepartCode}</if> |
65 | <if test="param.sparepartType != null and param.sparepartType !=''">and pm.sparepart_type in (${param.sparepartType}) </if> | 65 | <if test="param.sparepartType != null and param.sparepartType !=''">and pm.sparepart_type in (${param.sparepartType}) </if> |
66 | <if test="param.sparepartName != null and param.sparepartName !=''">and pm.sparepart_name like '%${param.sparepartName}%'</if> | 66 | <if test="param.sparepartName != null and param.sparepartName !=''">and pm.sparepart_name like '%${param.sparepartName}%'</if> | ... | ... |
-
请 注册 或 登录 后发表评论