|
@@ -21,32 +21,9 @@ or sqlname ='updatePartRepertoryTK' --(还需要前端 修改参数)
|
|
|
-- or sqlname ='insertPartquit'
|
|
|
-- or sqlname ='updatePartUseQuit'
|
|
|
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='getPartsListLY';
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='getPartsListLY_m'
|
|
|
-
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ="insertBigPartTransfer";
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ="getWarehouselistDB";
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ="getBigpartapplyList";
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ="updatePartapplyuseAmount_m";
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ="autoCreatCode";
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='insertBigpartapply';
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='insertpartapply_m';
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='insertpartapply'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='getBigpartusecode'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='getpartUseListBybigTK'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='getUserPCButtons'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='updatePartUseQuit'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='updatePartRepertoryTK'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='updateBigPartTransfer'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='getbuydetailList'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='getPartListByProvider'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='insertPartUseRepertory'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='insertBigPartTransfer'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='insertContractV2'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='getbuydetailListbyBig'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='getWXworkMsg'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='getNoMesList'
|
|
|
-select sqlname,sqlstr,params from apisql where sqlname ='getNoMesCount'
|
|
|
+select sqlname,sqlstr,params from apisql where sqlname ='checkDeviceId';
|
|
|
+select sqlname,sqlstr,params from apisql where sqlname ='insertParttTransfer'
|
|
|
+
|
|
|
|
|
|
update apisql set sqlname='getNoMesList_bk' where sqlname ='getNoMesList';
|
|
|
update apisql set sqlname='getNoMesCount_bk' where sqlname ='getNoMesCount';
|
|
@@ -462,7 +439,7 @@ select CAST('123.12' as DECIMAL)
|
|
|
|
|
|
UPDATE part_repertory SET reportery = reportery + '1' WHERE contractId = 497108 AND locationid = 10559 and partcode ="14.01.07.01.001030"
|
|
|
|
|
|
-select pa.* from bigpartapply bpa join partapply pa on pa.bigid =bpa.id where bpa.applycode ='LY19221008018'
|
|
|
+
|
|
|
|
|
|
select id from bigpartapply order by id desc limit 5
|
|
|
select count(*) from partapply
|
|
@@ -498,4 +475,61 @@ join bigpartuse bpu on bpu.id =pu.bigid
|
|
|
where bpu.useform ='CK56221002011'
|
|
|
group by pr.contractId,w.pastureid
|
|
|
|
|
|
-select pu.* from partuse pu join bigpartuse bpu on bpu.id =pu.bigid where bpu.useform ='CK56221002011'
|
|
|
+select pu.* from partuse pu join bigpartuse bpu on bpu.id =pu.bigid where bpu.useform ='CK56221002011'
|
|
|
+
|
|
|
+
|
|
|
+select * from bigpartapply where id =210607
|
|
|
+select * from partapply where bigid =210607
|
|
|
+select pa.* from bigpartapply bpa join partapply pa on pa.bigid =bpa.id where bpa.applycode ='LY19221008018'
|
|
|
+select sqlname,params,sqlstr from apisql
|
|
|
+
|
|
|
+
|
|
|
+select * from menu where name ='设备维保' or parentid =64 or parentid =247
|
|
|
+select a.sqlname,m.name from apisql a join menu m on a.menuid =m.id
|
|
|
+
|
|
|
+select sqlname ,name from apisql where sqlstr like '%update%' and sqlstr like '%partapply%'
|
|
|
+
|
|
|
+insertpartapply_m | 插入领用子表_m |
|
|
|
+updateBigPartApplystatue | 领用出库状态更新 |
|
|
|
+completeRepirs | 完成维修 |
|
|
|
+completeUpkeep | 完成保养 |
|
|
|
+updatePartApplyDel | 回滚领用出库数量 |
|
|
|
+partapplyCharge3 | 领用审核 |
|
|
|
+partapplyCharge1 | 领用审核 |
|
|
|
+partapplyCharge2 | 领用审核 |
|
|
|
+partapplyCharge | 领用审核 |
|
|
|
+updatepartapplyCharge | 领用 |
|
|
|
+updatePartapplyuseAmount | 更新领用出库数量 |
|
|
|
+updateBigPartApplystatueV2 | 领用出库状态更新 |
|
|
|
+insertBigpartapply_m | 插入采购单主表_m |
|
|
|
+updatePartapplyuseAmount_m | 更新领用出库数量_m
|
|
|
+
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'insertpartapply_m';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'updateBigPartApplystatue';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'completeRepirs';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'completeUpkeep';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'updatePartApplyDel';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'partapplyCharge3';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'partapplyCharge1';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'partapplyCharge2';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'partapplyCharge';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'updatepartapplyCharge';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'updatePartapplyuseAmount';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'updateBigPartApplystatueV2';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'insertBigpartapply_m';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'updatePartapplyuseAmount_m';
|
|
|
+select sqlname ,params,sqlstr from apisql where sqlname= 'autoCreatCode';
|
|
|
+show create procedure createCodeN
|
|
|
+
|
|
|
+delete from bigpartapply where id >210628
|
|
|
+delete from partapply where bigid =210634
|
|
|
+
|
|
|
+insert into partapply (partcode) values ('1'),('2'),('3')
|
|
|
+update partapply set bigid =210634 order by bigid desc limit 1
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ select bigid from partapply order by bigid desc limit 1;
|
|
|
+select id from bigpartapply order by id desc limit 1;
|
|
|
+
|
|
|
+select bigid from partuse order by bigid desc limit 1;select id from bigpartuse order by id desc limit 1;
|