Last active
December 20, 2015 14:19
-
-
Save jetgeng/6146061 to your computer and use it in GitHub Desktop.
动态绑定
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.e6sh.beautiful.mind | |
import com.e6sh.beautiful.mind.cmd.POSCardQueryCommand | |
import org.codehaus.groovy.grails.web.metaclass.BindDynamicMethod | |
def bind = new BindDynamicMethod() | |
def cmd = new POSCardQueryCommand() | |
//cmd.properties = params | |
bind.invoke(cmd, 'bind', [cmd, params] as Object[]) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment