|
|
@@ -12,6 +12,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import java.util.Date;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.Map;
|
|
|
|
|
|
@@ -76,6 +77,7 @@ public class StandardServiceImpl extends BaseMybatisDao<StandardDocumentMapper>
|
|
|
@Override
|
|
|
public Object update(StandardDocument in) {
|
|
|
Long id = Long.valueOf(in.getId());
|
|
|
+ in.setUpdateTime(new Date());
|
|
|
StandardDocument use = standardDocumentMapper.selectByPrimaryKey(id);
|
|
|
if (StringUtils.isNotEmpty(use.getUrl())&&
|
|
|
use.getUrl().equals(in.getUrl())){
|