|
|
@@ -5,6 +5,7 @@ import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.cache.annotation.Cacheable;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
@@ -572,8 +573,9 @@ public class OrderChangeApiController extends CertifyApiController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @RequestMapping(value = "/gerProcessName" ,method = RequestMethod.GET)
|
|
|
- public Result gerProcessName(Integer id){
|
|
|
+ @RequestMapping(value = "/getChangeProcessName" ,method = RequestMethod.GET)
|
|
|
+ @Cacheable(value = "getChangeProcessName", key = "'Key:'+#id")
|
|
|
+ public Result getChangeProcessName(Integer id){
|
|
|
Result res = new Result();
|
|
|
if(id==null){
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"","变更编号"));
|