|
|
@@ -141,8 +141,16 @@ public class AdminPolicyApiController extends BaseApiController {
|
|
|
if(result.getError().size()>0) {
|
|
|
return result;
|
|
|
}
|
|
|
- if(policy.getAuditStatus()!=null &&policy.getAuditStatus() == 2) {
|
|
|
+ if(policy.getAuditStatus()!=null ) {
|
|
|
policy.setReleaseDate(new Date());
|
|
|
+ if(policy.getAuditStatus() ==2){
|
|
|
+ policy.setReleaseDate(new Date());
|
|
|
+ policyService.addJtCollectSearch(policy);
|
|
|
+ }
|
|
|
+ if(policy.getAuditStatus()==4) {
|
|
|
+ policyService.updateJtCollectSearch(policy);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
policy.setEditTime(new Date());
|
|
|
|