Commit Graph
104489 Commits
Author SHA1 Message Date
lixiaoyu d3905f3ef4 *[task#147928,doing,0.5h,3h] modify code 2025-08-21 08:38:54 +08:00
huairong 0fdcdb8a2c + [task#61818,done,0.2h] Add xpath of createstakeholder page. 2025-08-21 08:38:54 +08:00
huairong 29af424418 + [task#61818,doing,1.0h,0.8h] Add testdata and testcase of createstakeholder. 2025-08-21 08:38:54 +08:00
huairong 736b1054aa + [task#61818,doing,1.0h,1.8h] Add createstakeholder function. 2025-08-21 08:38:54 +08:00
huairong abdd77cf61 + [task#61818,doing,0.2h,2.8h] Add xpath of stakeholder page. 2025-08-21 08:38:54 +08:00
yulujie 5aa2b9372e *[task#148498,done,1h] Add uitest of close task. 2025-08-21 08:38:54 +08:00
yulujie 28ca03281b *[task#148497,done,0.1h] Modify function. 2025-08-21 08:38:54 +08:00
yulujie 127437979e *[task#148497,done,0.1h] Modify function. 2025-08-21 08:38:54 +08:00
yulujie 0a04d6ed75 *[task#148497,done,1.5h] Add uitest of cancel task. 2025-08-21 08:38:54 +08:00
yulujie 7545326a26 *[task#148502,done,0.1h] Modify data. 2025-08-21 08:38:54 +08:00
yulujie 409fe3b6e0 *[task#148502,done,1h] Add xpath. 2025-08-21 08:38:54 +08:00
yulujie 43c2de0a34 *[task#148502,doing,2h,1h] Add data and cases. 2025-08-21 08:38:54 +08:00
yulujie 167ab95f88 *[task#148502,doing,3h,3h] Add function. 2025-08-21 08:38:54 +08:00
sunguangming 4a5c47539a * [misc] remove unused code. 2025-08-21 08:38:54 +08:00
liugang 22ab3db90d * [bug#64822] Fix error of building search form. 2025-08-21 08:38:54 +08:00
liugang d9f0cf78ca * [perf] Refactor search parameter caching: rename cacheSearchParams to cacheSearchFunc
- Rename method cacheSearchParams() to cacheSearchFunc() in framework/model.class.php
- Update parameter name from cacheSearchParams to cacheSearchFunc across execution and my modules
- Update corresponding test files and documentation comments
- Improve naming clarity to reflect that we're caching the function/method rather than just parameters
2025-08-21 08:38:54 +08:00
liugang cd58f25d71 * [misc] Simplify unittest steps of the myModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang 837d738e94 + [misc] Add unittest steps of the executionModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang 297d787247 + [misc] Add unittest steps of the executionModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang 156bcfd686 * [misc] Modify unittest script of the executionModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang cc784cbb40 * [misc] Fix error parameter. 2025-08-21 08:38:54 +08:00
liugang bc31128c8a + [misc] Add unittest steps of the myModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang 92457cd8f3 * [misc] Fix unittest error of the myModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang ac835946fd * [perf] Add cacheSearchParams parameter to processSearchParams method for performance control. 2025-08-21 08:38:54 +08:00
liugang 920c8a8f2a * [perf] Optimize search module variable usage and simplify field control access. 2025-08-21 08:38:54 +08:00
liugang 7a7eba7951 * [perf] Refactor: convert object property access to array access in search module. 2025-08-21 08:38:54 +08:00
liugang 371860dfc6 * [perf] If the search function has been cached return the search configuration items. 2025-08-21 08:38:54 +08:00
liugang 5ee90cf770 * [perf] IF the search function has been cached get search fields and parameters from configuration items instead of session. 2025-08-21 08:38:54 +08:00
liugang a44340383d * [perf] If the search function has been cached don't save search fields and parameters into session. 2025-08-21 08:38:54 +08:00
liugang cf238a3592 * [perf] Move the processSearchParams method from searchZen to searchModel. 2025-08-21 08:38:54 +08:00
liugang a536a3341d + [misc] Add unittest steps of the myModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang c087463e4c + [misc] Add unittest steps of the myModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang f50b1d89ce * [misc] Fix unittest error of the myModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang 34cca6339a * [misc] Fix unittest error of the executionModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang ae67900071 * [perf] refactor: improve processSearchParams return handling and session access
- Change return type from bool to array for better data flow
- Replace direct $_SESSION access with $this->session for consistency
- Add null check for funcArgs parameter validation
- Return cached search parameters as fallback instead of false
- Return actual function result instead of boolean success indicator
2025-08-21 08:38:54 +08:00
liugang 15686322b9 * [perf] refactor: standardize search cache naming and parameter handling
- Change session key from 'searchParams' to 'SearchFunc' for consistency
- Simplify processSearchParams method to accept module name directly
- Update method calls across search control and zen modules
2025-08-21 08:38:53 +08:00
liugang 9d2f04c2ed * [perf] refactor: optimize search parameter handling mechanism
- Replace loadModel('search')->setSearchParams() call with direct session setting in framework/model.class.php
- Remove redundant parameter clearing and early return logic from searchModel::setSearchParams method
2025-08-21 08:38:53 +08:00
liugang 7ccc2890bd * [perf] refactor: improve task search configuration handling in my module
- Replace direct modification of global config with local searchConfig variable
- Avoid side effects by working with local copy instead of modifying shared config
- Add return statement to provide searchConfig for potential future use
2025-08-21 08:38:53 +08:00
liugang 50835c315f * [perf] refactor: enhance task search form building functionality
- Add productID parameter to buildTaskSearchForm method to support better filtering
- Introduce module parameter to handle different search contexts (task, programplanTask, projectTask)
- Refactor search configuration to be more modular and context-aware
- Remove hardcoded search module configurations and pass them as parameters
- Simplify search form initialization across execution, programplan, and project modules
- Improve code reusability by centralizing search configuration logic
- Add conditional field filtering based on execution type and search context
2025-08-21 08:38:53 +08:00
liugang b2124e9a45 * [perf] Rename the processParams parameter to cacheSearchParams. 2025-08-21 08:38:53 +08:00
liugang 26c93856a7 * [perf] Replace the magic constants __CLASS__ and __FUNCTION__ with the magic constant __METHOD__ to simplify the code. 2025-08-21 08:38:53 +08:00
liugang a90a38ae3d * [perf] Implement lazy search parameter processing in myModel::buildTaskSearchForm(). 2025-08-21 08:38:53 +08:00
liugang 506b1d7c4a * [perf] Implement lazy search parameter processing in executionModel::buildTaskSearchForm(). 2025-08-21 08:38:53 +08:00
liugang 892db09a26 + [perf] Optimize search module to process search parameters when needed. 2025-08-21 08:38:53 +08:00
liugang 4c26eb2543 + [perf] Add a method to process search parameters when needed. 2025-08-21 08:38:53 +08:00
liugang 976e693833 * [perf] Clear old search params and support function-based parameter storage. 2025-08-21 08:38:53 +08:00
liugang 397028f97c + [perf] Add a method to cache search parameters. 2025-08-21 08:38:53 +08:00
daitingting dab0d12643 * [bug#64529,done,0.5h] SQL keywords should be capitalized. 2025-08-21 08:38:53 +08:00
daitingting 85cf0e2098 * [bug#64529,done,3h] Get multiple tasks which are finished. 2025-08-21 08:38:53 +08:00
sunguangming 796855593a * [misc] for review. 2025-08-21 08:38:53 +08:00