...
|
...
|
@@ -75,10 +75,20 @@ func (controller *SuMoneyController) ExchangeSuMoney() { |
|
|
controller.ServeJSON()
|
|
|
}
|
|
|
|
|
|
// TODO 增加搜索姓名
|
|
|
func (controller *SuMoneyController) SearchSuMoneyTransactionRecord() {
|
|
|
suMoneyService := service.NewSuMoneyService(nil)
|
|
|
searchSuMoneyTransactionRecordCommand := &command.SearchSuMoneyTransactionRecordCommand{}
|
|
|
|
|
|
employeeMatchName := controller.GetString("employeeMatchName")
|
|
|
searchSuMoneyTransactionRecordCommand.EmployeeMatchName = employeeMatchName
|
|
|
|
|
|
offset, _ := controller.GetInt("offset")
|
|
|
searchSuMoneyTransactionRecordCommand.Offset = offset
|
|
|
|
|
|
limit, _ := controller.GetInt("limit")
|
|
|
searchSuMoneyTransactionRecordCommand.Limit = limit
|
|
|
|
|
|
json.Unmarshal(controller.Ctx.Input.GetData("requestBody").([]byte), searchSuMoneyTransactionRecordCommand)
|
|
|
|
|
|
data, err := suMoneyService.SearchSuMoneyTransactionRecord(searchSuMoneyTransactionRecordCommand)
|
...
|
...
|
@@ -399,5 +409,5 @@ func (controller *SuMoneyController) GetExchangeCashPerson () { |
|
|
|
|
|
// TODO 导入素币兑换清单
|
|
|
func (controller *SuMoneyController) ImportExchangeList () {
|
|
|
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|