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
sunguangming
9960a8e2d5
* [unittest] modify unittest.
2025-08-21 08:38:53 +08:00
sunguangming
c337e28850
* [unittest] modify unittest.
2025-08-21 08:38:53 +08:00
sunguangming
95edc69e6b
* For sonar.
2025-08-21 08:38:53 +08:00
sunguangming
e67278d1da
* Refactor code.
2025-08-21 08:38:53 +08:00
sunguangming
836ef553b2
* Refactor, add unittest.
2025-08-21 08:38:53 +08:00
sunguangming
0151fd5711
* [misc] modify alert.
2025-08-21 08:38:53 +08:00
sunguangming
c8382fa12f
* [bug#64121,done,0.2h] fix bug.
2025-08-21 08:38:53 +08:00
sunguangming
9e034a66fb
* [unittest] add zen test.
2025-08-21 08:38:53 +08:00
sunguangming
54b7a7cb11
* [bug#64797,done,0.2h] fix bug.
2025-08-21 08:38:53 +08:00
sunguangming
858c676b69
* [bug#64389,done,0.1h] fix bug.
2025-08-21 08:38:53 +08:00
tianshujie
c5283004a2
* [task#148034,done,0.2h] add step for getDataByProject.
2025-08-21 08:38:53 +08:00
tianshujie
d40ed1ae55
* [task#148033,done,0.2h] refactor getbyshadowproduct unittest.
2025-08-21 08:38:53 +08:00
daitingting
f923340f39
* [task#148413,done,2h] Check space in sql.
2025-08-21 08:38:53 +08:00
yulujie
a25002db50
*[task#148341,doing,2h,2h] Modify function.
2025-08-21 08:38:53 +08:00
yulujie
339152bcae
*[task#148341,doing,1h,3h] Add data and cases of createspace.
2025-08-21 08:38:53 +08:00
yulujie
e1bb17c776
*[task#148341,doing,1h,3h] Add function of createspace.
2025-08-21 08:38:53 +08:00
xieqiyu
70b829bb32
* [bug#64584] Add the comment for unit test file.
2025-08-21 08:38:53 +08:00
xieqiyu
0704845130
* [bug#64584] Add the execution PM to parent execution team.
2025-08-21 08:38:53 +08:00
wangyidong
d2cf0083ed
* [unit] Add unit test step for weekly.
2025-08-21 08:38:53 +08:00
wangyidong
c082e4ef95
* [unit] Add unit test step for project sortandreduceclosedprojects.
2025-08-21 08:38:53 +08:00