CPWTJLBusiness.cs 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  1. using PMS.BusinessModels.Account;
  2. using PMS.BusinessModels.Problem;
  3. using PMS.DBService.Product;
  4. using PMS.Interface.Product;
  5. using QWPlatform.IService;
  6. using QWPlatform.SystemLibrary.Utils;
  7. using QWPlatform.SystemLibrary;
  8. using System;
  9. using System.Collections.Generic;
  10. using System.Data;
  11. using System.Linq;
  12. using System.Text;
  13. using Microsoft.Win32;
  14. using PMS.EntityModels.Product;
  15. using PMS.Interface.WorkFlow;
  16. using PMS.DBService.WorkFlow;
  17. using PMS.EntityModels.WorkFlow;
  18. namespace PMS.BusinessService.Product
  19. {
  20. /// <summary>
  21. /// 创建者:冉利
  22. /// 创建日期:2019/1/4
  23. /// 功能描述:产品问题记录
  24. /// </summary>
  25. public class CPWTJLBusiness : ICPWTJLModel
  26. {
  27. private CPWTJLService db_ProInfo = DataServiceBase.Instance<CPWTJLService>();
  28. #region 自定义查询方案,默认方案得加载,及combobox得点击
  29. /// <summary>
  30. /// 自定义方案查询
  31. /// </summary>
  32. /// <param name="model"></param>
  33. /// <returns></returns>
  34. public string ProjectZdyCxInfo(CPWTJLModel model, int page, int rows)
  35. {
  36. int total = 0;
  37. DataTable dt = db_ProInfo.ProjectZdyCxInfoSqlBulder(model, page, rows, out total);
  38. return dt.ToEasyUIGridJson(total);
  39. }
  40. /// <summary>
  41. /// 根据渠道id查询下面得项目信息
  42. /// </summary>
  43. /// <param name="qdID"></param>
  44. /// <returns></returns>
  45. public string QdXm(string qdID)
  46. {
  47. string s = Strings.ObjectToJson(db_ProInfo.QdXm(qdID), true);
  48. return s;
  49. }
  50. /// <summary>
  51. /// 获取项目机构
  52. /// </summary>
  53. /// <param name="jgID"></param>
  54. /// <returns></returns>
  55. public string XmJgs(string jgID)
  56. {
  57. string s = Strings.ObjectToJson(db_ProInfo.XmJgs(jgID), true);
  58. return s;
  59. }
  60. /// <summary>
  61. /// 获取项目产品
  62. /// </summary>
  63. /// <param name="cpID"></param>
  64. /// <returns></returns>
  65. public string XmCp(string XmID)
  66. {
  67. string s = Strings.ObjectToJson(db_ProInfo.XmCp(XmID), true);
  68. return s;
  69. }
  70. /// <summary>
  71. /// 快速查询
  72. /// </summary>
  73. /// <returns></returns>
  74. public string KsSelect(string KsCx, int page, int rows, int total)
  75. {
  76. int StartNumbers = StartNumber(page, rows, 20);
  77. int Endnumbers = Endnumber(page, rows, 20);
  78. DataTable dt = db_ProInfo.KsSelect(KsCx, StartNumbers, Endnumbers, out total);
  79. if (dt != null)
  80. {
  81. return dt.ToEasyUIGridJson(total);
  82. }
  83. return string.Empty;
  84. }
  85. /// <summary>
  86. /// 卫计委,本部,渠道人员根据渠道id查询数据权限
  87. /// </summary>
  88. /// <param name="model"></param>
  89. /// <param name="channel"></param>
  90. /// <param name="page"></param>
  91. /// <param name="rows"></param>
  92. public string ProjectZdyCxInfoQKW(string channel, int page, int rows)
  93. {
  94. int total = 0;
  95. DataTable dt = db_ProInfo.ProjectZdyCxInfoQKW(channel, page, rows, out total);
  96. return dt.ToEasyUIGridJson(total);
  97. }
  98. /// <summary>
  99. /// 4医院管理员 自己机构(站点信息)的数据
  100. /// </summary>
  101. /// <param name="model"></param>
  102. /// <param name="page"></param>
  103. /// <param name="rows"></param>
  104. public string ProjectZdyCxZd(string DJRID, int page, int rows)
  105. {
  106. int total = 0;
  107. DataTable dt = db_ProInfo.ProjectZdyCxZd(DJRID, page, rows, out total);
  108. return dt.ToEasyUIGridJson(total);
  109. }
  110. /// <summary>
  111. /// 客户人员(自己登记的问题)
  112. /// </summary>
  113. /// <param name="DJRID"></param>
  114. /// <param name="page"></param>
  115. /// <param name="rows"></param>
  116. /// <returns></returns>
  117. public string ProjectZdyCxInfoKh(string DJRID, int page, int rows)
  118. {
  119. int total = 0;
  120. DataTable dt = db_ProInfo.ProjectZdyCxInfoKh(DJRID, page, rows, out total);
  121. return dt.ToEasyUIGridJson(total);
  122. }
  123. /// <summary>
  124. /// 问题确认
  125. /// </summary>
  126. /// <param name="id"></param>
  127. /// <returns></returns>
  128. public string WtQr(string id, string JlrID, DateTime Jlsj, int Qrlx)
  129. {
  130. //--状态(1,正常,2,被回退,3,终止),记录人ID,记录时间,确认类型(1机构,2卫计委,3项目,4技术,5研发人员)
  131. return db_ProInfo.WtQr(id, JlrID, Jlsj, Qrlx);
  132. }
  133. /// <summary>
  134. /// 查询产品问题记录是否被确认
  135. /// </summary>
  136. /// <param name="id"></param>
  137. /// <returns></returns>
  138. public string WtsfQr(string id)
  139. {
  140. string result = db_ProInfo.WtsfQr(id);
  141. return result;
  142. }
  143. /// <summary>
  144. /// 判断问题是否被终止
  145. /// </summary>
  146. /// <param name="id"></param>
  147. /// <returns></returns>
  148. public string SfZz(string id)
  149. {
  150. string result = db_ProInfo.SfZz(id);
  151. return result;
  152. }
  153. /// <summary>
  154. /// 查看问题详情
  155. /// </summary>
  156. /// <param name="id"></param>
  157. /// <returns></returns>
  158. public string Wtdetail(string id)
  159. {
  160. return db_ProInfo.Wtdetail(id).ToJson();
  161. }
  162. /// <summary>
  163. /// 获取基础编码
  164. /// </summary>
  165. /// <param name="type"></param>
  166. /// <returns></returns>
  167. public string GetBaseCode(string type)
  168. {
  169. return db_ProInfo.GetBaseCode(type).ToJson();
  170. }
  171. #endregion
  172. #region 开始行结束行
  173. /// <summary>
  174. /// 开始行
  175. /// </summary>
  176. /// <param name="page">页码</param>
  177. /// <param name="rows">行数</param>
  178. /// <param name="defaultpage">默认行数</param>
  179. /// <returns></returns>
  180. private int StartNumber(int page, int rows, int defaultpage)
  181. {
  182. try
  183. {
  184. int _pageNum = page == 0 ? 1 : page;
  185. int _pagerows = rows == 0 ? defaultpage : rows;
  186. return ((_pageNum - 1) * _pagerows + 1);
  187. }
  188. catch (Exception)
  189. {
  190. return 0;
  191. }
  192. }
  193. /// <summary>
  194. /// 结束行
  195. /// </summary>
  196. /// <param name="page">页码</param>
  197. /// <param name="rows">行数</param>
  198. /// <param name="defaultpage">默认页码</param>
  199. /// <returns></returns>
  200. private int Endnumber(int page, int rows, int defaultpage)
  201. {
  202. try
  203. {
  204. int _pageNum = page == 0 ? 1 : page;
  205. int _pagerows = rows == 0 ? defaultpage : rows;
  206. return (_pageNum * _pagerows);
  207. }
  208. catch (Exception)
  209. {
  210. return 0;
  211. }
  212. }
  213. /// <summary>
  214. /// 是否医院内审核医院管理员可以提交问题
  215. /// </summary>
  216. /// <param name="personID"></param>
  217. /// <returns></returns>
  218. public string SfSh(string personID)
  219. {
  220. DataTable dt = db_ProInfo.SfSh(personID);
  221. return dt.ToJson();
  222. }
  223. /// <summary>
  224. /// 是否卫计委可以处理问题
  225. /// </summary>
  226. /// <param name="personID"></param>
  227. /// <returns></returns>
  228. public string SfShWjW(string personID)
  229. {
  230. DataTable dt = db_ProInfo.SfShWjW(personID);
  231. return dt.ToJson();
  232. }
  233. #endregion
  234. #region 所有combobox需要信息
  235. /// <summary>
  236. /// 获取所有渠道信息
  237. /// </summary>
  238. /// <param name="channel"></param>
  239. /// <returns></returns>
  240. public string GETQDinfo(string channel)
  241. {
  242. string s = Strings.ObjectToJson(db_ProInfo.GETQDinfo(channel), true);
  243. return s;
  244. }
  245. /// <summary>
  246. /// 获取所有项目信息
  247. /// </summary>
  248. /// <param name="channel"></param>
  249. /// <returns></returns>
  250. public string GETXMinfo(string channel)
  251. {
  252. string s = Strings.ObjectToJson(db_ProInfo.GETXMinfo(channel), true);
  253. return s;
  254. }
  255. /// <summary>
  256. /// 获取机构信息
  257. /// </summary>
  258. /// <returns></returns>
  259. public string GETJGinfo(string project)
  260. {
  261. string s = Strings.ObjectToJson(db_ProInfo.GETJGinfo(project), true);
  262. return s;
  263. }
  264. /// <summary>
  265. /// 获取产品信息
  266. /// </summary>
  267. /// <returns></returns>
  268. public string GETCPinfo(string project)
  269. {
  270. string s = Strings.ObjectToJson(db_ProInfo.GETCPinfo(project), true);
  271. return s;
  272. }
  273. /// <summary>
  274. /// 获取性质信息
  275. /// </summary>
  276. /// <returns></returns>
  277. public string GETXZinfo()
  278. {
  279. string s = Strings.ObjectToJson(db_ProInfo.GETXZinfo(), true);
  280. return s;
  281. }
  282. /// <summary>
  283. /// 获取紧急程度信息
  284. /// </summary>
  285. /// <returns></returns>
  286. public string GETJJCDinfo()
  287. {
  288. string s = Strings.ObjectToJson(db_ProInfo.GETJJCDinfo(), true);
  289. return s;
  290. }
  291. /// <summary>
  292. /// 获取问题流程信息
  293. /// </summary>
  294. /// <returns></returns>
  295. public string GEDQHJinfo(int PersonProperty)
  296. {
  297. string s = Strings.ObjectToJson(db_ProInfo.GEDQHJinfo(PersonProperty), true);
  298. return s;
  299. }
  300. /// <summary>
  301. /// 关键字
  302. /// </summary>
  303. /// <returns></returns>
  304. public string GEDGJZinfo(string project)
  305. {
  306. string s = Strings.ObjectToJson(db_ProInfo.GEDGJZinfo(project), true);
  307. return s;
  308. }
  309. #endregion
  310. #region 信息查询
  311. //迭代信息
  312. public string GetLterationList()
  313. {
  314. return db_ProInfo.GetLterationList().ToJson();
  315. }
  316. //获取数据库时间
  317. public DateTime GetDatabaseTime()
  318. {
  319. return db_ProInfo.GetDatabaseTime();
  320. }
  321. //获取研发人员
  322. public string GetAssignPerson()
  323. {
  324. return db_ProInfo.GetAssignPerson().ToJson();
  325. }
  326. //获取所有模块
  327. public string GetAllModual()
  328. {
  329. return db_ProInfo.GetAllModual().ToJson();
  330. }
  331. //获取关注的产品信息
  332. public string GetMyConfig(string myconfig, string id)
  333. {
  334. return db_ProInfo.GetMyConfig(myconfig, id).ToJson();
  335. }
  336. //获取关注的模块信息
  337. public string GetMyConfigModual(string myconfig, string CPID)
  338. {
  339. return db_ProInfo.GetMyConfigModual(myconfig, CPID).ToJson();
  340. }
  341. //获取用户信息
  342. public string GetUserInfo(UserInfo user)
  343. {
  344. return db_ProInfo.GetUserInfo(user).ToJson();
  345. }
  346. //判断是否可以删除
  347. public DataTable CheckState(string id)
  348. {
  349. return db_ProInfo.CheckState(id);
  350. }
  351. //加载产品
  352. public string GetCpwtjlByID(string xmid, string cpid)
  353. {
  354. return db_ProInfo.GetCpwtjlByID(xmid, cpid).ToJson();
  355. }
  356. //获取项目id
  357. public string GetXMID(string id)
  358. {
  359. return "1";
  360. }
  361. //获取问题状态
  362. public bool GetProblemState(string id, UserInfo model)
  363. {
  364. return db_ProInfo.GetProblemState(id, model);
  365. }
  366. //根据问题编号获取问题信息
  367. public DataTable GetInfolByBH(int id)
  368. {
  369. return db_ProInfo.GetInfolByBH(id);
  370. }
  371. //根据人员权限获取产品信息
  372. public string GetProductByID(string defaultProjectID)
  373. {
  374. return db_ProInfo.GetProductByID(defaultProjectID).ToJson();
  375. }
  376. //根据项目获取对应的渠道
  377. public string GetChannelByInfo(string id)
  378. {
  379. return db_ProInfo.GetChannelByInfo(id).ToJson();
  380. }
  381. //根据登录人员获取对应的项目
  382. public string GetProjectByInfo(UserInfo user)
  383. {
  384. //本部人员
  385. if (user.PersonProperty == 1)
  386. {
  387. return db_ProInfo.GetProjectByInfo().ToJson();
  388. }
  389. //其他人员
  390. return db_ProInfo.GetProjectByInfo(user).ToJson();
  391. }
  392. //根据项目获取对应的机构
  393. public string GetStationByID(string id)
  394. {
  395. return db_ProInfo.GetStationByID(id).ToJson();
  396. }
  397. //获取问题紧急程度
  398. public string GetEmergencylevel()
  399. {
  400. return db_ProInfo.GetEmergencylevel().ToJson();
  401. }
  402. //项目产品模块信息
  403. public string SelectProjectModualInfo(string id)
  404. {
  405. return db_ProInfo.SelectProjectModualInfo(id).ToJson();
  406. }
  407. //根据登录人员ID获取人员信息
  408. public string GetPersonInfoByID(string PersonID)
  409. {
  410. return db_ProInfo.GetPersonInfoByID(PersonID).ToJson();
  411. }
  412. //根据产品ID获取产品模块
  413. public string GetModualByCPID(string id)
  414. {
  415. return db_ProInfo.GetModualByCPID(id).ToJson();
  416. }
  417. public string getmk(string id)
  418. {
  419. DataTable dt = db_ProInfo.GetModualByCPID(id);
  420. int count = 0;
  421. int x = 0;
  422. var json = "[";
  423. foreach (DataRow row in dt.Rows)
  424. {
  425. if (String.IsNullOrEmpty(row.GetValueByName<string>("上级ID")))
  426. {
  427. json += "{id:'" + row.GetValueByName<string>("ID") + "',text:'" + row.GetValueByName<string>("名称") + "'";
  428. foreach (DataRow r in dt.Rows)
  429. {
  430. if (r.GetValueByName<string>("上级ID") == row.GetValueByName<string>("ID"))
  431. {
  432. if (count == 0)
  433. {
  434. json += ",children: [";
  435. count++;
  436. x++;
  437. }
  438. json += "{id:'" + r.GetValueByName<string>("ID") + "',text: '" + r.GetValueByName<string>("名称") + "'},";
  439. }
  440. }
  441. if (x != 0)
  442. {
  443. json = json.Substring(0, json.Length - 1) + "]";
  444. }
  445. json += "},";
  446. count = x = 0;
  447. }
  448. }
  449. //json = json.Substring(0, json.Length - 1);
  450. json += "]";
  451. return json;
  452. }
  453. //获取唯一问题序列编号
  454. public string GetSequence()
  455. {
  456. return db_ProInfo.GetSequence().ToJson();
  457. }
  458. //问题来源
  459. public string GetProblemSource(int personProperty)
  460. {
  461. //如果性质为产品用户
  462. if (personProperty == 3 || personProperty == 4 || personProperty == 5)
  463. {
  464. return db_ProInfo.GetProblemSource(personProperty, "5").ToJson();
  465. }
  466. else
  467. {
  468. return db_ProInfo.GetProblemSource(personProperty).ToJson();
  469. }
  470. }
  471. //问题性质
  472. public string GetProblemNature(int personProperty)
  473. {
  474. //如果性质为产品用户
  475. if (personProperty == 3 || personProperty == 4 || personProperty == 5)
  476. {
  477. return db_ProInfo.GetProblemNature(personProperty, "1").ToJson();
  478. }
  479. else
  480. {
  481. return db_ProInfo.GetProblemNature(personProperty).ToJson();
  482. }
  483. }
  484. //根据性质ID返回性质代码
  485. public DataTable SelectNature(string wTXZ)
  486. {
  487. return db_ProInfo.SelectNature(wTXZ);
  488. }
  489. //获取所有反馈人
  490. public string GetFKR(string text, string CompanyID)
  491. {
  492. return db_ProInfo.GetFKR(text, CompanyID).ToJson();
  493. }
  494. //获取问题登记时的过程ID
  495. public string GetNewProcessID(string problemid)
  496. {
  497. return db_ProInfo.GetNewProcessID(problemid);
  498. }
  499. // 根据问题id获取产品id
  500. public string GetCPID(string id)
  501. {
  502. return db_ProInfo.GetCPID(id).ToString();
  503. }
  504. //根据渠道Id获取用户信息
  505. public string GetUserInfoByChannelId()
  506. {
  507. return this.db_ProInfo.GetUserInfoByChannelId().ToJson();
  508. }
  509. #endregion
  510. #region 问题登记
  511. //登记操作
  512. public ProblemStateModel RegisterProblem(ProblemBusinessModel model, UserInfo user, string id)
  513. {
  514. //用户、机构管理员、卫计委信息科
  515. if (user.PersonProperty == 3 || user.PersonProperty == 4 || user.PersonProperty == 5)
  516. {
  517. return db_ProInfo.RegisterProblem(model, user, id);
  518. }
  519. else
  520. {
  521. //直接提交
  522. if (model.RegisterType == 1)
  523. {
  524. return db_ProInfo.RegisterSubitProblem(model, user, id);
  525. }
  526. //中联人员
  527. return db_ProInfo.RegisterProblemByZL(model, user, id);
  528. }
  529. }
  530. //提交问题
  531. public int PostProblem(string id, string flowID, UserInfo user, string ProcessID)
  532. {
  533. return db_ProInfo.PostProblem(id, flowID, user, ProcessID);
  534. }
  535. //上传附件
  536. public bool FileUpload(string ProblemID, string AnnexID, string Name, string fileType, string id)
  537. {
  538. var result = db_ProInfo.FileUpload(ProblemID, AnnexID, Name, fileType, id);
  539. return result == 1;
  540. }
  541. //判断项目的审核流程是否允许用户反馈问题
  542. public bool CheckApprovalProcess(string QDID, string xMID, string JGID)
  543. {
  544. return db_ProInfo.CheckApprovalProcess(QDID, xMID, JGID) > 0;
  545. }
  546. //根据项目获取对应的渠道
  547. public DataTable GetChannelByProId(string id)
  548. {
  549. return this.db_ProInfo.GetChannelByInfo(id);
  550. }
  551. #endregion
  552. #region 问题修改
  553. //修改问题操作
  554. public int UpdateProblem(ProblemBusinessModel model, UserInfo user)
  555. {
  556. return db_ProInfo.UpdateProblem(model, user);
  557. }
  558. //返回问题是否有受理人
  559. public int GetAccept(string id)
  560. {
  561. return db_ProInfo.GetAccept(id);
  562. }
  563. /// <summary>
  564. /// 获取问题记录信息
  565. /// </summary>
  566. /// <param name="id"></param>
  567. /// <returns></returns>
  568. public DataTable GetProblemInfo(string id)
  569. {
  570. return db_ProInfo.GetProblemInfo(id);
  571. }
  572. //获取问题附件
  573. public DataTable GetAttachment(string id)
  574. {
  575. return db_ProInfo.GetAttachment(id);
  576. }
  577. //删除附件
  578. public int Delete_Img(string id)
  579. {
  580. return db_ProInfo.Delete_Img(id);
  581. }
  582. #endregion
  583. #region 删除问题
  584. //删除问题
  585. public int Delete_Problem(string id)
  586. {
  587. return db_ProInfo.Delete_Problem(id);
  588. }
  589. #endregion
  590. #region 向上提交
  591. //提交操作
  592. public int Submit(string id, UserInfo user, string CodeID)
  593. {
  594. return db_ProInfo.Submit(id, user, CodeID);
  595. }
  596. #endregion
  597. #region 查看问题
  598. //查看问题
  599. public string CheckProblem(string id)
  600. {
  601. return db_ProInfo.CheckProblem(id).ToJson();
  602. }
  603. //根据编号获取问题ID
  604. public string GetProblemID(int bH)
  605. {
  606. return db_ProInfo.GetProblemID(bH);
  607. }
  608. //问题过程的附件上传
  609. public bool ProcessFileUpload(string problemID, string data, string name, string fileType, string processID)
  610. {
  611. var result = db_ProInfo.ProcessFileUpload(problemID, data, name, fileType, processID);
  612. return result == 1;
  613. }
  614. #endregion
  615. #region 处理问题
  616. public int SaveResource(ResourceBusinessModels model)
  617. {
  618. return db_ProInfo.SaveResource(model);
  619. }
  620. public int DelResource(string id)
  621. {
  622. return db_ProInfo.DelResource(id);
  623. }
  624. public int GetNumber(string id)
  625. {
  626. return db_ProInfo.GetNumber(id);
  627. }
  628. /// <summary>
  629. /// 获取问题的资源列表
  630. /// </summary>
  631. /// <param name="proid"></param>
  632. /// <returns></returns>
  633. public string ResourceData(string proid)
  634. {
  635. return db_ProInfo.ResourceData(proid).ToJson();
  636. }
  637. public object ResourceData_Layui(string proid)
  638. {
  639. return db_ProInfo.ResourceData_Layui(proid);
  640. }
  641. public string DoBHGet(string url, string v1, string v2)
  642. {
  643. return db_ProInfo.DoBHGet(url, v1, v2);
  644. }
  645. public string GetVersionById(string id, int type)
  646. {
  647. return db_ProInfo.GetVersionById(id, type).ToJson();
  648. }
  649. public int ChangeVersionState(string id, int state)
  650. {
  651. return this.db_ProInfo.ChangeVersionState(id, state);
  652. }
  653. /// <summary>
  654. /// 标准底线问题
  655. /// </summary>
  656. /// <param name="id"></param>
  657. /// <param name="state"></param>
  658. /// <returns></returns>
  659. public int Bottomlineissues(string id, int state)
  660. {
  661. return this.db_ProInfo.ChangeVersionState(id, state);
  662. }
  663. public DataTable GetProjectProducct(string id)
  664. {
  665. return this.db_ProInfo.GetProjectProducct(id);
  666. }
  667. public bool CheckRepeat(string id)
  668. {
  669. return this.db_ProInfo.CheckRepeat(id);
  670. }
  671. public int SaveDevTest(string id, string dev, string test)
  672. {
  673. return this.db_ProInfo.SaveDevTest(id, dev, test);
  674. }
  675. public void GetDevTest(string id, out string dev, out string test)
  676. {
  677. this.db_ProInfo.GetDevTest(id, out dev, out test);
  678. }
  679. #endregion
  680. }
  681. }