Commit Graph
281 Commits
Author SHA1 Message Date
tianshujie 33d47cd4a4 * Fix an error when setting stage. 2023-10-23 11:21:31 +08:00
zhouxin 13370f3f3b * Fix assignment of empty value to 'realBegan' field by assigning NULL instead. 2023-10-23 11:15:21 +08:00
dingguodong 5859a354ea * Rename checkTopStage to isTopStage for balance. 2023-09-06 14:37:18 +08:00
dingguodong eaa292bbb1 * Fix type error. 2023-09-01 16:15:00 +08:00
tianshujie b9f2be5af5 * Converts the id to an int. 2023-08-22 15:41:43 +08:00
chentao 22196bed07 * Fix configurations of stage edit form. 2023-07-19 17:30:26 +08:00
chentao 14ec5b35ca * Correct code and milestone fields on the stage creation page. 2023-07-19 17:30:26 +08:00
chentao d0f751d6c3 * Render errors to the stage creation page. 2023-07-17 10:44:15 +08:00
chentao 8cf8f8786c * Refactor batch stages creation page. 2023-07-14 17:36:23 +08:00
chentao 145659284e * Convert data to the correct type and handle empty data gracefully for creating stages. 2023-07-14 17:36:23 +08:00
chentao 8962f3bb63 * Revert to original business logic of creating stages. 2023-07-14 17:36:23 +08:00
jukui fae28afeec * Optimized update function for programplan model. 2023-05-12 16:01:49 +08:00
xushenjie 1825e640d1 * Adjust return type of programplanModel::updateSubStageAttr(). 2023-05-12 07:48:44 +00:00
lanzongjun c24bf206fe * Adjust programplan function comment. 2023-05-12 13:35:55 +08:00
jukui 8da313f5e1 + Add insertProjectSpec function and call insertProjectSpec. 2023-05-12 11:27:38 +08:00
xushenjie 11aee4b3ed * Optimize code of programplanModel::updateSubStageAttr(). 2023-05-12 02:34:47 +00:00
jukui d08bb6c374 * Modify return type and comment for function. 2023-05-12 10:24:50 +08:00
xushenjie eb199fccae * Optimize code of programplanModel::processPlans(). 2023-05-12 01:51:10 +00:00
liuchenglong 95d488631b * Change programplan getDuration function params type. 2023-05-12 00:59:47 +00:00
liuchenglong 3769477d92 * Modify programplan-model getPlans test case. 2023-05-11 13:00:54 +00:00
jukui 4e55a96e8b * Rename checkTopStage function to isTopStage. 2023-05-11 20:57:42 +08:00
jukui 66dce85591 * Rename getStageListBy function to getStageList. 2023-05-11 20:27:36 +08:00
dingguodong e0768c5e1b * Rename the programplan table from TABLE_PROJECT to TABLE_EXECUTION. 2023-05-11 20:18:39 +08:00
dingguodong cd940acdeb * Split code to tao and add comments. 2023-05-11 20:18:39 +08:00
liuchenglong d846b91688 + Add programplan-model getByID test case. 2023-05-11 11:40:24 +00:00
jukui 36fa288748 * Modify access type for processPlans function. 2023-05-11 19:18:27 +08:00
liuchenglong 6d0c4053d2 * Optimize code review finded problems. 2023-05-11 08:40:26 +00:00
lanzongjun a594f5d1de * Add paragraph comments to programplan. 2023-05-11 16:26:52 +08:00
xushenjie 6701df6ac4 * Adjust params and comment of getParentChildrenTypes(). 2023-05-11 08:05:56 +00:00
jukui 498e76117b * Modify $id to $labelType. 2023-05-11 16:05:31 +08:00
dingguodong b18a1fb08b * Optimize programplanModel::create(). 2023-05-11 15:19:34 +08:00
jukui 0088794dea * Modify processPlan function and comment ofgetTotalPercent and processPlans function. 2023-05-11 15:10:31 +08:00
xushenjie 9d57a82f15 * Adjust method comments and parameter types. 2023-05-11 15:06:33 +08:00
xushenjie 79e28778dd * Optimize code of programplanModel::isClickable(). 2023-05-11 06:51:14 +00:00
lanzongjun 6e256479ef * Adjust the ternary operator under the programplan module. 2023-05-11 14:44:10 +08:00
xushenjie d7321d61c1 * Format code. 2023-05-11 06:18:03 +00:00
dingguodong deb7222dc9 * Change the comment in file header. 2023-05-11 13:48:08 +08:00
jukui d9e760f0f4 * Modify comment of getByList and getStage function. 2023-05-11 13:11:27 +08:00
xushenjie cad7f961db * Adjust the capitalization of mysql keywords. 2023-05-11 03:31:44 +00:00
jukui 2039863f7e * Modify getStage funciton and test case for programplan model. 2023-05-10 20:53:04 +08:00
xushenjie 60a9446b77 * Optimize code of programplanModel::isClickable(). 2023-05-10 12:02:55 +00:00
xushenjie 5e984bfa72 * Optimize code of programplanModel::checkNameUnique(). 2023-05-10 10:05:36 +00:00
liuchenglong 2a9d675376 * Modify programplan-computerprogress test case. 2023-05-10 08:10:30 +00:00
jukui 9881d5eb27 * Modify the format and return type of getTotalPercent function for programplan model. 2023-05-10 15:59:31 +08:00
xushenjie abdcd8ceaf * Adjust the code of programplanModel::checkCodeUnique(). 2023-05-10 07:43:17 +00:00
xushenjie 9e05fc394e * Enable strict mode for programplan model file. 2023-05-10 02:20:58 +00:00
xushenjie 0bfe386f7d * Adjust code formatting and comments of programplanModel::getMilestones(). 2023-05-10 02:13:02 +00:00
xushenjie ffbe2bfc4a * Adjust the capitalization of mysql query keywords. 2023-05-09 11:59:55 +00:00
liuchenglong 52c6a7f661 * Resolve conflict. 2023-05-09 10:49:03 +00:00
liuchenglong 7ec2b7af8b * Fix sonar find defaul. 2023-05-09 10:36:45 +00:00