You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

616 lines
22 KiB

  1. 2016-09-26 10:43:10 select base_area:SELECT
  2. id,
  3. area_name
  4. FROM
  5. base_area
  6. WHERE
  7. parent_id = 0
  8. 2016-09-26 10:43:25 select base_area:SELECT
  9. id,
  10. area_name
  11. FROM
  12. base_area
  13. WHERE
  14. parent_id = 0
  15. 2016-09-26 13:17:21 select base_supplier:(type2)SELECT
  16. a.id,
  17. a.supplier_name,
  18. a.area_id,
  19. a.is_disabled,
  20. group_concat(b.product_type) as product_type
  21. FROM
  22. base_supplier AS a,
  23. base_supplier_purchase AS b
  24. WHERE
  25. a.id = b.supplier_id
  26. and
  27. AND a.cancel_flag = 0
  28. AND b.cancel_flag = 0
  29. GROUP BY
  30. b.supplier_id
  31. 2016-09-26 13:21:58 select base_supplier:(type2)SELECT
  32. a.id,
  33. a.supplier_name,
  34. a.area_id,
  35. a.is_disabled,
  36. group_concat(b.product_type) as product_type
  37. FROM
  38. base_supplier AS a,
  39. base_supplier_purchase AS b
  40. WHERE
  41. a.id = b.supplier_id
  42. AND a.cancel_flag = 0
  43. AND b.cancel_flag = 0
  44. GROUP BY
  45. b.supplier_id
  46. 2016-09-26 13:21:58 select base_area:SELECT
  47. id,
  48. area_name
  49. FROM
  50. base_area
  51. WHERE
  52. id in(792)
  53. 2016-09-26 13:28:01 select base_supplier:(type2)SELECT
  54. a.id,
  55. a.supplier_name,
  56. a.area_id,
  57. a.is_disabled,
  58. group_concat(b.product_type) as product_type
  59. FROM
  60. base_supplier AS a,
  61. base_supplier_purchase AS b
  62. WHERE
  63. a.id = b.supplier_id
  64. and a.is_disabled = 259
  65. AND a.cancel_flag = 0
  66. AND b.cancel_flag = 0
  67. GROUP BY
  68. b.supplier_id
  69. 2016-09-26 13:28:01 select base_area:SELECT
  70. id,
  71. area_name
  72. FROM
  73. base_area
  74. WHERE
  75. id in()
  76. 2016-09-26 13:29:49 select base_supplier:(type2)SELECT
  77. a.id,
  78. a.supplier_name,
  79. a.area_id,
  80. a.is_disabled,
  81. group_concat(b.product_type) as product_type
  82. FROM
  83. base_supplier AS a,
  84. base_supplier_purchase AS b
  85. WHERE
  86. a.id = b.supplier_id
  87. and a.is_disabled = 259
  88. AND a.cancel_flag = 0
  89. AND b.cancel_flag = 0
  90. GROUP BY
  91. b.supplier_id
  92. 2016-09-26 13:32:29 select base_supplier:(type2)SELECT
  93. a.id,
  94. a.supplier_name,
  95. a.area_id,
  96. a.is_disabled,
  97. group_concat(b.product_type) as product_type
  98. FROM
  99. base_supplier AS a,
  100. base_supplier_purchase AS b
  101. WHERE
  102. a.id = b.supplier_id
  103. AND a.cancel_flag = 0
  104. AND b.cancel_flag = 0
  105. GROUP BY
  106. b.supplier_id
  107. 2016-09-26 13:32:29 select base_area:SELECT
  108. id,
  109. area_name
  110. FROM
  111. base_area
  112. WHERE
  113. id in(792)
  114. 2016-09-26 13:35:48 select base_supplier:(type2)SELECT
  115. a.id,
  116. a.supplier_name,
  117. a.area_id,
  118. a.is_disabled,
  119. group_concat(b.product_type) as product_type
  120. FROM
  121. base_supplier AS a,
  122. base_supplier_purchase AS b
  123. WHERE
  124. a.id = b.supplier_id
  125. AND a.cancel_flag = 0
  126. AND b.cancel_flag = 0
  127. GROUP BY
  128. b.supplier_id
  129. 2016-09-26 13:35:48 select base_area:SELECT
  130. id,
  131. area_name
  132. FROM
  133. base_area
  134. WHERE
  135. id in(792)
  136. 2016-09-26 13:39:19 select base_supplier_purchase:SELECT
  137. supplier_id
  138. FROM
  139. base_supplier_purchase
  140. WHERE
  141. product_type = 259
  142. GROUP BY
  143. supplier_id
  144. 2016-09-26 13:39:19 select base_supplier:(type1)SELECT
  145. a.id,
  146. a.supplier_name,
  147. a.area_id,
  148. a.is_disabled,
  149. group_concat(b.product_type) as product_type
  150. FROM
  151. base_supplier AS a,
  152. base_supplier_purchase AS b
  153. WHERE
  154. a.id = b.supplier_id
  155. and a.id in(5)
  156. AND a.cancel_flag = 0
  157. AND b.cancel_flag = 0
  158. GROUP BY
  159. b.supplier_id
  160. 2016-09-26 13:39:19 select base_area:SELECT
  161. id,
  162. area_name
  163. FROM
  164. base_area
  165. WHERE
  166. id in(792)
  167. 2016-09-26 14:09:18 select base_supplier_purchase:SELECT
  168. supplier_id
  169. FROM
  170. base_supplier_purchase
  171. WHERE
  172. product_type = 259
  173. GROUP BY
  174. supplier_id
  175. 2016-09-26 14:09:18 select base_supplier:SELECT
  176. a.id,
  177. a.supplier_name,
  178. a.area_id,
  179. a.is_disabled,
  180. a.supplier_type,
  181. group_concat(b.product_type) as product_type
  182. FROM
  183. base_supplier AS a,
  184. base_supplier_purchase AS b
  185. WHERE
  186. a.id = b.supplier_id
  187. and a.id in(5)
  188. AND a.cancel_flag = 0
  189. AND b.cancel_flag = 0
  190. GROUP BY
  191. b.supplier_id
  192. LIMIT 0,10
  193. 2016-09-26 14:09:18 select base_area:SELECT
  194. id,
  195. area_name
  196. FROM
  197. base_area
  198. WHERE
  199. id in()
  200. 2016-09-26 14:09:37 select base_supplier_purchase:SELECT
  201. supplier_id
  202. FROM
  203. base_supplier_purchase
  204. WHERE
  205. product_type = 259
  206. GROUP BY
  207. supplier_id
  208. 2016-09-26 14:09:37 select base_supplier:SELECT
  209. a.id,
  210. a.supplier_name,
  211. a.area_id,
  212. a.is_disabled,
  213. a.supplier_type,
  214. group_concat(b.product_type) as product_type
  215. FROM
  216. base_supplier AS a,
  217. base_supplier_purchase AS b
  218. WHERE
  219. a.id = b.supplier_id
  220. and a.id in(5)
  221. AND a.cancel_flag = 0
  222. AND b.cancel_flag = 0
  223. GROUP BY
  224. b.supplier_id
  225. LIMIT 0,10
  226. 2016-09-26 14:09:37 select base_area:SELECT
  227. id,
  228. area_name
  229. FROM
  230. base_area
  231. WHERE
  232. id in()
  233. 2016-09-26 14:09:45 select base_supplier_purchase:SELECT
  234. supplier_id
  235. FROM
  236. base_supplier_purchase
  237. WHERE
  238. product_type = 259
  239. GROUP BY
  240. supplier_id
  241. 2016-09-26 14:09:45 select base_supplier:SELECT
  242. a.id,
  243. a.supplier_name,
  244. a.area_id,
  245. a.is_disabled,
  246. a.supplier_type,
  247. group_concat(b.product_type) as product_type
  248. FROM
  249. base_supplier AS a,
  250. base_supplier_purchase AS b
  251. WHERE
  252. a.id = b.supplier_id
  253. and a.id in(5)
  254. AND a.cancel_flag = 0
  255. AND b.cancel_flag = 0
  256. GROUP BY
  257. b.supplier_id
  258. LIMIT 0,10
  259. 2016-09-26 14:09:45 select base_area:SELECT
  260. id,
  261. area_name
  262. FROM
  263. base_area
  264. WHERE
  265. id in()
  266. 2016-09-26 14:10:21 select base_supplier_purchase:SELECT
  267. supplier_id
  268. FROM
  269. base_supplier_purchase
  270. WHERE
  271. product_type = 259
  272. GROUP BY
  273. supplier_id
  274. 2016-09-26 14:10:21 select base_supplier:SELECT
  275. a.id,
  276. a.supplier_name,
  277. a.area_id,
  278. a.is_disabled,
  279. a.supplier_type,
  280. group_concat(b.product_type) as product_type
  281. FROM
  282. base_supplier AS a,
  283. base_supplier_purchase AS b
  284. WHERE
  285. a.id = b.supplier_id
  286. and a.id in(5)
  287. AND a.cancel_flag = 0
  288. AND b.cancel_flag = 0
  289. GROUP BY
  290. b.supplier_id
  291. LIMIT 0,10
  292. 2016-09-26 14:10:21 select base_area:SELECT
  293. id,
  294. area_name
  295. FROM
  296. base_area
  297. WHERE
  298. id in()
  299. 2016-09-26 14:10:35 select base_supplier_purchase:SELECT
  300. supplier_id
  301. FROM
  302. base_supplier_purchase
  303. WHERE
  304. product_type = 259
  305. GROUP BY
  306. supplier_id
  307. 2016-09-26 14:10:35 select base_supplier:SELECT
  308. a.id,
  309. a.supplier_name,
  310. a.area_id,
  311. a.is_disabled,
  312. a.supplier_type,
  313. group_concat(b.product_type) as product_type
  314. FROM
  315. base_supplier AS a,
  316. base_supplier_purchase AS b
  317. WHERE
  318. a.id = b.supplier_id
  319. and a.id in(5)
  320. AND a.cancel_flag = 0
  321. AND b.cancel_flag = 0
  322. GROUP BY
  323. b.supplier_id
  324. LIMIT 0,10
  325. 2016-09-26 14:10:35 select base_area:SELECT
  326. id,
  327. area_name
  328. FROM
  329. base_area
  330. WHERE
  331. id in(792)
  332. 2016-09-26 16:41:15 update status base_supplier:UPDATE base_supplier
  333. SET is_disabled = 0
  334. WHERE
  335. id in(3,4,5)
  336. 2016-09-26 17:30:42 select base_supplier:SELECT
  337. id,
  338. supplier_name,
  339. area_id,
  340. company_name,
  341. sett_type,
  342. sett_frequency,
  343. account_bank,
  344. account_num,
  345. account_name
  346. FROM
  347. base_supplier
  348. WHERE
  349. cancel_flag = 0
  350. AND id =
  351. 2016-09-26 17:30:57 select base_supplier:SELECT
  352. id,
  353. supplier_name,
  354. area_id,
  355. company_name,
  356. sett_type,
  357. sett_frequency,
  358. account_bank,
  359. account_num,
  360. account_name
  361. FROM
  362. base_supplier
  363. WHERE
  364. cancel_flag = 0
  365. AND id = 3
  366. 2016-09-26 17:30:57 select base_area:SELECT
  367. id,
  368. area_name,
  369. parent_id
  370. FROM
  371. base_area
  372. WHERE
  373. cancel_flag = 0
  374. AND id = 792
  375. 2016-09-26 17:30:57 select base_area:SELECT
  376. id,
  377. area_name
  378. FROM
  379. base_area
  380. WHERE
  381. cancel_flag = 0
  382. AND id = 791
  383. 2016-09-26 17:31:04 select base_supplier:SELECT
  384. id,
  385. supplier_name,
  386. area_id,
  387. company_name,
  388. sett_type,
  389. sett_frequency,
  390. account_bank,
  391. account_num,
  392. account_name
  393. FROM
  394. base_supplier
  395. WHERE
  396. cancel_flag = 0
  397. AND id =
  398. 2016-09-26 17:31:30 select base_supplier:SELECT
  399. id,
  400. supplier_name,
  401. area_id,
  402. company_name,
  403. sett_type,
  404. sett_frequency,
  405. account_bank,
  406. account_num,
  407. account_name
  408. FROM
  409. base_supplier
  410. WHERE
  411. cancel_flag = 0
  412. AND id = 3
  413. 2016-09-26 17:31:30 select base_area:SELECT
  414. id,
  415. area_name,
  416. parent_id
  417. FROM
  418. base_area
  419. WHERE
  420. cancel_flag = 0
  421. AND id = 792
  422. 2016-09-26 17:31:30 select base_area:SELECT
  423. id,
  424. area_name
  425. FROM
  426. base_area
  427. WHERE
  428. cancel_flag = 0
  429. AND id = 791
  430. 2016-09-26 17:32:21 select base_supplier:SELECT
  431. id,
  432. supplier_name,
  433. area_id,
  434. company_name,
  435. sett_type,
  436. sett_frequency,
  437. account_bank,
  438. account_num,
  439. account_name
  440. FROM
  441. base_supplier
  442. WHERE
  443. cancel_flag = 0
  444. AND id = 3
  445. 2016-09-26 17:32:21 select base_area:SELECT
  446. id,
  447. area_name,
  448. parent_id
  449. FROM
  450. base_area
  451. WHERE
  452. cancel_flag = 0
  453. AND id = 792
  454. 2016-09-26 17:32:21 select base_area:SELECT
  455. id,
  456. area_name
  457. FROM
  458. base_area
  459. WHERE
  460. cancel_flag = 0
  461. AND id = 791
  462. 2016-09-26 17:33:38 select base_supplier:SELECT
  463. id,
  464. supplier_name,
  465. area_id,
  466. company_name,
  467. sett_type,
  468. sett_frequency,
  469. account_bank,
  470. account_num,
  471. account_name
  472. FROM
  473. base_supplier
  474. WHERE
  475. cancel_flag = 0
  476. AND id = 3
  477. 2016-09-26 17:33:38 select base_area:SELECT
  478. id,
  479. area_name,
  480. parent_id
  481. FROM
  482. base_area
  483. WHERE
  484. cancel_flag = 0
  485. AND id = 792
  486. 2016-09-26 17:33:38 select base_area:SELECT
  487. id,
  488. area_name
  489. FROM
  490. base_area
  491. WHERE
  492. cancel_flag = 0
  493. AND id = 791
  494. 2016-09-26 17:34:03 select base_supplier:SELECT
  495. id,
  496. supplier_name,
  497. area_id,
  498. company_name,
  499. sett_type,
  500. sett_frequency,
  501. account_bank,
  502. account_num,
  503. account_name
  504. FROM
  505. base_supplier
  506. WHERE
  507. cancel_flag = 0
  508. AND id = 3
  509. 2016-09-26 17:34:03 select base_area:SELECT
  510. id,
  511. area_name,
  512. parent_id
  513. FROM
  514. base_area
  515. WHERE
  516. cancel_flag = 0
  517. AND id = 792
  518. 2016-09-26 17:34:03 select base_area:SELECT
  519. id,
  520. area_name
  521. FROM
  522. base_area
  523. WHERE
  524. cancel_flag = 0
  525. AND id = 791
  526. 2016-09-26 17:34:04 select base_supplier:SELECT
  527. id,
  528. supplier_name,
  529. area_id,
  530. company_name,
  531. sett_type,
  532. sett_frequency,
  533. account_bank,
  534. account_num,
  535. account_name
  536. FROM
  537. base_supplier
  538. WHERE
  539. cancel_flag = 0
  540. AND id = 3
  541. 2016-09-26 17:34:04 select base_area:SELECT
  542. id,
  543. area_name,
  544. parent_id
  545. FROM
  546. base_area
  547. WHERE
  548. cancel_flag = 0
  549. AND id = 792
  550. 2016-09-26 17:34:04 select base_area:SELECT
  551. id,
  552. area_name
  553. FROM
  554. base_area
  555. WHERE
  556. cancel_flag = 0
  557. AND id = 791
  558. 2016-09-26 17:34:24 select base_supplier:SELECT
  559. id,
  560. supplier_name,
  561. area_id,
  562. company_name,
  563. sett_type,
  564. sett_frequency,
  565. account_bank,
  566. account_num,
  567. account_name
  568. FROM
  569. base_supplier
  570. WHERE
  571. cancel_flag = 0
  572. AND id = 3
  573. 2016-09-26 17:34:24 select base_area:SELECT
  574. id,
  575. area_name,
  576. parent_id
  577. FROM
  578. base_area
  579. WHERE
  580. cancel_flag = 0
  581. AND id = 792
  582. 2016-09-26 17:34:24 select base_area:SELECT
  583. id,
  584. area_name
  585. FROM
  586. base_area
  587. WHERE
  588. cancel_flag = 0
  589. AND id = 791
  590. 2016-09-26 17:34:24 select base_supplier_purchase:SELECT
  591. id,
  592. product_type,
  593. purchaser_name
  594. FROM
  595. base_supplier_purchase
  596. WHERE
  597. cancel_flag = 0
  598. AND supplier_id = 3
  599. 2016-09-26 17:34:24 select base_supplier_link:SELECT
  600. id,
  601. link_name,
  602. contact_name
  603. contact_mobile,
  604. contact_telphone,
  605. fax,
  606. email,
  607. remark
  608. FROM
  609. base_supplier_link
  610. WHERE
  611. cancel_flag = 0
  612. AND supplier_id = 3