|
|
@@ -196,6 +196,29 @@ public class AdminReleaseApiController extends CertifyApiController{
|
|
|
}
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
+ * 公出审核、外出审核 营销
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/assistExamine", method = RequestMethod.POST)
|
|
|
+ public Result assistExamine(Integer id ,Integer status,String remarks){
|
|
|
+ Result res =new Result();
|
|
|
+ if (id==null) {
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"公出编号"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+ if (status!=0&&status!=2) {
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"审核状态"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+ if (remarks.length()>20) {
|
|
|
+ res.getError().add(buildError("备注长度不能超过20个字符。"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+ res.setData(publicReleaseService.assistExamine(id,status,remarks));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
@RequestMapping(value = "/techExamine", method = RequestMethod.POST)
|
|
|
public Result techExamine(Integer id ,Integer status,String remarks){
|
|
|
Result res =new Result();
|