|
@@ -6,6 +6,8 @@ import com.caimei365.commodity.service.StatisticsTypeService;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
+import java.text.SimpleDateFormat;
|
|
|
+import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* @创建人 hzg
|
|
@@ -23,7 +25,7 @@ public class StatisticsTypeServiceImpl implements StatisticsTypeService {
|
|
|
*/
|
|
|
@Override
|
|
|
public ResponseJson alterTypeNumber(Integer typeId) {
|
|
|
- int i = typeMapper.updataTypeNumber(typeId);
|
|
|
+ int i = typeMapper.updataTypeNumber(typeId,new Date());
|
|
|
return ResponseJson.success(i);
|
|
|
}
|
|
|
}
|