|
|
|
@ -362,6 +362,13 @@ public class CollectController extends Controller {
|
|
|
|
|
public void delJob(int job_id) {
|
|
|
|
|
//已发布,并且有人填写的不能删除
|
|
|
|
|
Record record = cm.getJob(job_id);
|
|
|
|
|
if (record == null) {
|
|
|
|
|
Map map = new HashMap();
|
|
|
|
|
map.put("success", true);
|
|
|
|
|
map.put("message", "保存成功!");
|
|
|
|
|
renderJson(map);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
int publish_state = record.getInt("publish_state");
|
|
|
|
|
if (publish_state == 1) {
|
|
|
|
|
int is_finish_count = 0;
|
|
|
|
|