The invention relates to a commission calculation program configuration method and device,
computer equipment, a computer readable storage medium and a
computer program product. The method comprises the following steps: in response to a configuration operation for a target index, generating a structured
query language (
SQL) script corresponding to the target index; in response to a configuration operation for a target commission calculation rule, a calculation rule of the target commission is generated, the calculation rule comprises a judgment condition and / or a calculation result, and the judgment condition and / or the calculation result comprises a target index; generating a corresponding
data access object DAO method based on the
SQL script of the target index, generating a
source code of a target commission calculation program based on the calculation rule of the target commission, and obtaining the target index in the
source code by calling the DAO method corresponding to the target index; and dynamically compiling the
source code to obtain a calculation program of the target commission. By adopting the method, the configuration flexibility and the configuration efficiency of the commission calculation program can be improved.