|
@@ -472,7 +472,7 @@ func CreateContractRegisterAndServicesAndPayMent(item *ContractRegister, service
|
|
|
//}
|
|
|
}
|
|
|
|
|
|
- sql := `UPDATE contract_pre_payment SET contract_register_id = ?, contract_code = ?, modify_time = NOW() WHERE pre_pay_id = ?`
|
|
|
+ sql := `DELETE FROM contract_pre_payment WHERE pre_pay_id = ?`
|
|
|
tx.Exec(sql, item.ContractRegisterId, item.ContractCode, prePayId)
|
|
|
return
|
|
|
}
|